actions: add merge_group trigger #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: asan | |
jobs: | |
check-asan: | |
name: address-sanitizer check | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- run: git fetch --tags || true | |
- name: docker-run-checks with ASan | |
timeout-minutes: 40 | |
env: | |
PRELOAD: /usr/lib64/libasan.so.6 | |
ASAN_OPTIONS: detect_leaks=0,start_deactivated=true,replace_str=true | |
FLUX_TEST_TIMEOUT: 300 | |
TAP_DRIVER_QUIET: t | |
run: > | |
src/test/docker/docker-run-checks.sh \ | |
--image=fedora34 --unit-test-only -j2 \ | |
-- --with-flux-security --enable-sanitizer=address | |
- name: after failure | |
if: failure() || cancelled() | |
run: src/test/checks-annotate.sh | |