Add Ubuntu 16.04 and 20.04 test targets.

This commit is contained in:
Darren Tucker 2021-01-08 14:26:32 +11:00
parent 4c7af01f9d
commit c336644351
2 changed files with 61 additions and 2 deletions

7
.github/setup_ci.sh vendored
View File

@ -1,5 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
case $(./config.guess) in
*-darwin*)
# no setup needed for Mac OS X
exit 0
;;
esac
TARGETS=$@ TARGETS=$@
PACKAGES="" PACKAGES=""

View File

@ -7,9 +7,35 @@ on:
branches: [ master ] branches: [ master ]
jobs: jobs:
build: ubuntu-20_04:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
strategy:
matrix:
configs:
- ""
- "--with-kerberos5 --with-libedit --with-pam --with-security-key-builtin --with-selinux"
steps:
- uses: actions/checkout@v2
- name: setup CI system
run: ./.github/setup_ci.sh ${{ matrix.configs }}
- name: autoreconf
run: autoreconf
- name: configure
run: ./configure ${{ matrix.configs }}
- name: make
run: make
- name: make tests
run: ./.github/run_test.sh ${{ matrix.configs }}
env:
TEST_SSH_UNSAFE_PERMISSIONS: 1
ubuntu-18_04:
runs-on: ubuntu-18.04
strategy: strategy:
matrix: matrix:
@ -37,3 +63,29 @@ jobs:
run: ./.github/run_test.sh ${{ matrix.configs }} run: ./.github/run_test.sh ${{ matrix.configs }}
env: env:
TEST_SSH_UNSAFE_PERMISSIONS: 1 TEST_SSH_UNSAFE_PERMISSIONS: 1
ubuntu-16_04:
runs-on: ubuntu-16.04
strategy:
matrix:
configs:
- ""
- "--with-pam --with-selinux --with-libedit --with-kerberos5 "
steps:
- uses: actions/checkout@v2
- name: setup CI system
run: ./.github/setup_ci.sh ${{ matrix.configs }}
- name: autoreconf
run: autoreconf
- name: configure
run: ./configure ${{ matrix.configs }}
- name: make
run: make
- name: make tests
run: ./.github/run_test.sh ${{ matrix.configs }}
env:
TEST_SSH_UNSAFE_PERMISSIONS: 1