diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-10-13 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-10-13 08:00:00 +0000 |
commit | 2f468e426594266e33981927df0b0e2502eeed22 (patch) | |
tree | 7ae1e1f7931051f6cf4d39367812cc09c8efbe60 | |
parent | 8362d3b92e1e619465765c5046ccb0e56d1c7567 (diff) | |
download | pam-2f468e426594266e33981927df0b0e2502eeed22.tar.gz pam-2f468e426594266e33981927df0b0e2502eeed22.tar.bz2 pam-2f468e426594266e33981927df0b0e2502eeed22.zip |
.github: add gcc-14 and clang-16/clang-17/clang-18 jobs
-rw-r--r-- | .github/workflows/ci.yml | 271 |
1 files changed, 271 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cf775c0..d1138a64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,88 @@ jobs: - name: check run: git diff-index --check --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904 + meson-gcc14-x86_64-vendordir: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: gcc-14 + TARGET: x86_64 + VENDORDIR: ${prefix}/share/etc + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-gcc14-x86_64-openssl: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: gcc-14 + TARGET: x86_64 + USE_OPENSSL: yes + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-gcc14-x86_64-sanitizers: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: gcc-14 + 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@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-gcc14-x86_64: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: gcc-14 + TARGET: x86_64 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-gcc14-x86_64-debug: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: gcc-14 + TARGET: x86_64 + ENABLE_DEBUG: yes + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + meson-gcc13-x86_64-vendordir: runs-on: ubuntu-24.04 env: @@ -95,6 +177,195 @@ jobs: - name: build check run: ci/meson-build.sh + meson-clang18-x86_64-vendordir: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-18 + TARGET: x86_64 + VENDORDIR: ${prefix}/share/etc + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang18-x86_64-openssl: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-18 + TARGET: x86_64 + USE_OPENSSL: yes + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang18-x86_64: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-18 + TARGET: x86_64 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang18-x86_64-debug: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-18 + TARGET: x86_64 + ENABLE_DEBUG: yes + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang17-x86_64-vendordir: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-17 + TARGET: x86_64 + VENDORDIR: ${prefix}/share/etc + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang17-x86_64-openssl: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-17 + TARGET: x86_64 + USE_OPENSSL: yes + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang17-x86_64: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-17 + TARGET: x86_64 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang17-x86_64-debug: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-17 + TARGET: x86_64 + ENABLE_DEBUG: yes + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang16-x86_64-vendordir: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-16 + TARGET: x86_64 + VENDORDIR: ${prefix}/share/etc + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang16-x86_64-openssl: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-16 + TARGET: x86_64 + USE_OPENSSL: yes + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang16-x86_64: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-16 + TARGET: x86_64 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + + meson-clang16-x86_64-debug: + runs-on: ubuntu-24.04 + env: + BUILD: meson + CC: clang-16 + TARGET: x86_64 + ENABLE_DEBUG: yes + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: install dependencies + run: ci/install-dependencies.sh + - name: build check + run: ci/meson-build.sh + meson-clang15-x86_64-vendordir: runs-on: ubuntu-24.04 env: |