forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 837 Bytes
/
asan.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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