summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2023-04-04 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2023-04-04 08:00:00 +0000
commit261b21ce44cd119522b38cc2e057f33a40a0b288 (patch)
treed721e75a943e9d4fc6230bbb05def43f9b278b32
parentb6011a23d51acff6eb492cb33aa5c2582da6fab4 (diff)
downloadlinux-pam-git-ldv/ci.tar.gz
ci: add --disable-nis jobs to the ci matrixldv/ci
-rw-r--r--.github/workflows/ci.yml30
-rwxr-xr-xci/run-build-and-tests.sh9
2 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6125178f..00c25048 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-without-nis:
+ runs-on: ubuntu-latest
+ env:
+ CC: gcc-12
+ TARGET: x86_64
+ USE_NIS: no
+ 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-without-nis:
+ runs-on: ubuntu-latest
+ env:
+ CC: clang-14
+ TARGET: x86_64
+ USE_NIS: no
+ 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..01cee860 100755
--- a/ci/run-build-and-tests.sh
+++ b/ci/run-build-and-tests.sh
@@ -38,6 +38,15 @@ case "${VENDORDIR-}" in
;;
esac
+case "${USE_NIS-}" in
+ yes)
+ DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --enable-nis"
+ ;;
+ no)
+ DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --disable-nis"
+ ;;
+esac
+
echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION'
uname -a |head -1
libc="$(ldd /bin/sh |sed -n 's|^[^/]*\(/[^ ]*/libc\.so[^ ]*\).*|\1|p' |head -1)"