]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Add Ubuntu 16.04 and 20.04 test targets.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 8 Jan 2021 03:26:32 +0000 (14:26 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 8 Jan 2021 04:49:06 +0000 (15:49 +1100)
.github/setup_ci.sh
.github/workflows/c-cpp.yml

index e2474ccd74603ee801e20af8cf7a9b918f39fd49..61349be118256fb235612d033585b76cbfc16033 100755 (executable)
@@ -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=""
index 2189756bbf8f2245b4f874c14c58dc61ecbb2f5b..83fd02ba255c08651b91f1e0432722f00ea43cb4 100644 (file)
@@ -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@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@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