[openssh-commits] [openssh] 01/02: Add Ubuntu 16.04 and 20.04 test targets.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jan 8 15:56:24 AEDT 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit c336644351fa3c715a08b7a292e309e72792e71e
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Jan 8 14:26:32 2021 +1100

    Add Ubuntu 16.04 and 20.04 test targets.
---
 .github/setup_ci.sh         |  7 ++++++
 .github/workflows/c-cpp.yml | 56 +++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 61 insertions(+), 2 deletions(-)

diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index e2474ccd..61349be1 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -1,5 +1,12 @@
 #!/usr/bin/env bash
 
+case $(./config.guess) in
+*-darwin*)
+	# no setup needed for Mac OS X
+	exit 0
+	;;
+esac
+
 TARGETS=$@
 
 PACKAGES=""
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 2189756b..83fd02ba 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -7,9 +7,35 @@ on:
     branches: [ master ]
 
 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 at 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:
       matrix:
@@ -37,3 +63,29 @@ jobs:
       run: ./.github/run_test.sh ${{ matrix.configs }}
       env:
         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 at 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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list