Skip to content

WIP: clojure.test

WIP: clojure.test #796

Workflow file for this run

name: "Build"
on:
pull_request:
push:
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
# Ubuntu
## Debug + clang-tidy + codecov
- os: ubuntu-24.04
build_type: Debug
sanitize: none
codecov: on
analysis: on
## Debug + sanitization
- os: ubuntu-24.04
build_type: Debug
sanitize: address
- os: ubuntu-24.04
build_type: Debug
sanitize: undefined
- os: ubuntu-24.04
build_type: Debug
sanitize: thread
## Release
- os: ubuntu-24.04
build_type: Release
build_ubuntu_tarball: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
runs-on: ${{ matrix.os }}
env:
CODECOV: ${{ matrix.codecov }}
ANALYSIS: ${{ matrix.analysis }}
SANITIZE: ${{ matrix.sanitize }}
ASAN_OPTIONS: detect_leaks=0
timeout-minutes: 240 # 4h
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build and test
uses: ./.github/actions/build
id: build
with:
build_ubuntu_tarball: ${{ matrix.build_ubuntu_tarball }}
#- name: Update Ubuntu tarball
# if: success() && ${{ matrix.build_ubuntu_tarball == 'true' }}
# uses: pyTooling/Actions/releaser@main
# with:
# tag: latest
# rm: true
# token: ${{ secrets.GITHUB_TOKEN }}
# files: ${{ steps.build.outputs.release_archive }}