diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-09-02 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-09-10 08:00:00 +0000 |
commit | 691688f3d059ab4b65bde5f3cd1186484d2693cd (patch) | |
tree | 3ce67d360f4d8d82f045f5149170af7ec02bd01a /.github | |
parent | 7fb6beed01bc1a59438b8b2a9b34b2dba296e553 (diff) | |
download | pam-691688f3d059ab4b65bde5f3cd1186484d2693cd.tar.gz pam-691688f3d059ab4b65bde5f3cd1186484d2693cd.tar.bz2 pam-691688f3d059ab4b65bde5f3cd1186484d2693cd.zip |
ci: add a few meson jobs
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3f77a0f..63b573fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,151 @@ jobs: - name: check run: git diff-index --check --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904 + meson-gcc13-x86_64-vendordir: + runs-on: ubuntu-latest + env: + BUILD: meson + CC: gcc-13 + 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-gcc13-x86_64-openssl: + runs-on: ubuntu-latest + env: + BUILD: meson + CC: gcc-13 + 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-gcc13-x86_64-sanitizers: + runs-on: ubuntu-latest + env: + BUILD: meson + 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@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: + runs-on: ubuntu-latest + env: + BUILD: meson + CC: gcc-13 + 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-gcc13-x86_64-debug: + runs-on: ubuntu-latest + env: + BUILD: meson + CC: gcc-13 + 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-latest + env: + BUILD: meson + CC: clang-15 + 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-clang15-x86_64-openssl: + runs-on: ubuntu-latest + env: + BUILD: meson + CC: clang-15 + 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-clang15-x86_64: + runs-on: ubuntu-latest + env: + BUILD: meson + CC: clang-15 + 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-clang15-x86_64-debug: + runs-on: ubuntu-latest + env: + BUILD: meson + CC: clang-15 + 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 + gcc13-x86_64-vendordir: runs-on: ubuntu-latest env: |