Skip to content

Add initial error reporting framework (#266) #1015

Add initial error reporting framework (#266)

Add initial error reporting framework (#266) #1015

Workflow file for this run

name: "Build"
on:
pull_request:
push:
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
# Ubuntu
## Lint all sources
- name: Ubuntu - lint
os: ubuntu-24.04
lint: true
## Debug + clang-tidy + coverage
- name: Ubuntu - debug, analysis, coverage
os: ubuntu-24.04
build_type: Debug
sanitize: none
coverage: on
analyze: on
## Debug + sanitization
- name: Ubuntu - address sanitizer
os: ubuntu-24.04
build_type: Debug
sanitize: address
- name: Ubuntu - undefined behavior sanitizer
os: ubuntu-24.04
build_type: Debug
sanitize: undefined
- name: Ubuntu - thread sanitizer
os: ubuntu-24.04
build_type: Debug
sanitize: thread
## Release
- name: Ubuntu - release
os: ubuntu-24.04
build_type: Release
sanitize: none
runs-on: ${{ matrix.os }}
name: ${{ matrix.name }}
env:
JANK_MATRIX_ID: ${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.sanitize }}
JANK_BUILD_TYPE: ${{ matrix.build_type }}
JANK_LINT: ${{ matrix.lint }}
JANK_COVERAGE: ${{ matrix.coverage }}
JANK_ANALYZE: ${{ matrix.analyze }}
JANK_SANITIZE: ${{ matrix.sanitize }}
ASAN_OPTIONS: detect_leaks=0
TERM: xterm
timeout-minutes: 35
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build and test
run: |
curl -sL -o install-bb https://raw.githubusercontent.com/babashka/babashka/master/install
chmod +x install-bb
sudo ./install-bb
./bin/jank/check_everything.clj