diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2023-08-05 18:13:13 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2023-08-07 12:26:41 +0200 |
commit | dc9427961a7186b065d59041f59f2f6c4a991998 (patch) | |
tree | c23dde8e95fa98c3538aa3a496dc3e502cecad3f /.github | |
parent | b2bc6a660a1080e3d4c60ed94b73ae4f94802894 (diff) | |
download | pam-dc9427961a7186b065d59041f59f2f6c4a991998.tar.gz pam-dc9427961a7186b065d59041f59f2f6c4a991998.tar.bz2 pam-dc9427961a7186b065d59041f59f2f6c4a991998.zip |
ci: add GCC 13 job with sanitzers
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b27b704e..8640f572 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,24 @@ jobs: - name: build check run: ci/run-build-and-tests.sh + gcc13-x86_64-sanitizers: + runs-on: ubuntu-latest + env: + CC: gcc-13 + CFLAGS: '-O1 -g -fsanitize=address -fsanitize-address-use-after-scope -fno-omit-frame-pointer -fsanitize=undefined -Wno-error=inline -Wno-error=format-overflow' + LDFLAGS: '-fsanitize=address -fsanitize-address-use-after-scope -fno-omit-frame-pointer -fsanitize=undefined' + ASAN_OPTIONS: strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1 + UBSAN_OPTIONS: print_stacktrace=1:print_summary=1:halt_on_error=1 + TARGET: x86_64 + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/run-build-and-tests.sh + gcc13-x86_64: runs-on: ubuntu-latest env: |