Skip to content

Commit

Permalink
github: unit-tests: add a step to build with clang and asan
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Borzecki <[email protected]>
  • Loading branch information
bboozzoo committed Feb 11, 2025
1 parent 70826b8 commit d5010ec
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,24 @@ jobs:
cd cmd/
./autogen.sh
make -j$(nproc)
make clean
- name: Build Go
run: |
go build ./...
- name: Test C
- name: Test C (distcheck)
run: |
cd cmd/ && make distcheck
- name: Test C (clang & check & ASan)
run: |
cd cmd/
CC=clang ./autogen.sh --enable-sanitize
make -j$(nproc)
make check
make clean
- name: Set SNAPD_DEBUG=1
if: ${{ inputs.snapd-debug }}
run: echo "SNAPD_DEBUG=1" >> $GITHUB_ENV
Expand Down

0 comments on commit d5010ec

Please sign in to comment.