-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ASAN/UBSAN recipe to just, make a CI that runs it
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
name: Build with ASAN/UBSAN | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [trunk] | ||
types: [opened, ready_for_review] | ||
|
||
env: | ||
LDMX_DOCKER_TAG: ldmx/dev:latest | ||
LDMX_NUM_EVENTS: 7500 | ||
|
||
jobs: | ||
build-with-asan-ubsan: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
job_matrix: ${{steps.gen-mat.outputs.job_matrix}} | ||
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 | ||
just fire ${GITHUB_WORKSPACE}/.github/validation_samples/ecal_pn/config.py | ||
shell: bash | ||
|
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