-
Notifications
You must be signed in to change notification settings - Fork 20
48 lines (40 loc) · 1.1 KB
/
asan_ubsan_build.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build with ASAN and UBSAN
on:
workflow_dispatch:
pull_request:
branches: [trunk]
types: [opened, ready_for_review]
env:
LDMX_DOCKER_TAG: ldmx/dev:latest
jobs:
build-with-asan-ubsan:
runs-on: ubuntu-latest
steps:
- name: Checkout ldmx-sw
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- name: Install just
uses: extractions/setup-just@v2
with:
just-version: 1.26.0
- name: Compile and Install ldmx-sw
run: |
just install-denv init configure-asan-ubsan
just build
shell: bash
- name: Run ecal_pn config
continue-on-error: true
run: |
just setenv LDMX_NUM_EVENTS=15
just setenv LDMX_RUN_NUMBER=1
just setenv LSAN_OPTIONS=verbosity=1
just setenv LSAN_OPTIONS=log_threads=1
just fire ${GITHUB_WORKSPACE}/.github/validation_samples/ecal_pn/config.py 2> output.log
shell: bash
- name: Upload log artifact
uses: actions/upload-artifact@v4
with:
name: ASAN_UBSAN_output
path: output.log