diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-04-05 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-04-20 13:10:06 +0000 |
commit | 2a4b23d3ee613ae675c795bebb282f3e5d1f9b4f (patch) | |
tree | 497ba1642e7397a4be911ebc0be6744ac7f085ae | |
parent | a7e4f035fe7b2cb93df9ec38ebe6aa256c2cb8ee (diff) | |
download | pam-2a4b23d3ee613ae675c795bebb282f3e5d1f9b4f.tar.gz pam-2a4b23d3ee613ae675c795bebb282f3e5d1f9b4f.tar.bz2 pam-2a4b23d3ee613ae675c795bebb282f3e5d1f9b4f.zip |
ci: add --enable-openssl jobs to the ci matrix
Link: https://github.com/linux-pam/linux-pam/pull/550#issuecomment-1490362439
-rw-r--r-- | .github/workflows/ci.yml | 30 | ||||
-rwxr-xr-x | ci/run-build-and-tests.sh | 6 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6125178f..37c4e81b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,21 @@ jobs: - name: build check run: ci/run-build-and-tests.sh + gcc12-x86_64-openssl: + runs-on: ubuntu-latest + env: + CC: gcc-12 + TARGET: x86_64 + USE_OPENSSL: yes + 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 + gcc11-x86_64: runs-on: ubuntu-latest env: @@ -99,6 +114,21 @@ jobs: - name: build check run: ci/run-build-and-tests.sh + clang14-x86_64-openssl: + runs-on: ubuntu-latest + env: + CC: clang-14 + TARGET: x86_64 + USE_OPENSSL: yes + 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 + clang14-x86_64: runs-on: ubuntu-latest env: diff --git a/ci/run-build-and-tests.sh b/ci/run-build-and-tests.sh index e5a76562..f5f61d38 100755 --- a/ci/run-build-and-tests.sh +++ b/ci/run-build-and-tests.sh @@ -38,6 +38,12 @@ case "${VENDORDIR-}" in ;; esac +case "${USE_OPENSSL-}" in + yes) + DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --enable-openssl" + ;; +esac + echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION' uname -a |head -1 libc="$(ldd /bin/sh |sed -n 's|^[^/]*\(/[^ ]*/libc\.so[^ ]*\).*|\1|p' |head -1)" |