]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Add Mac OS X test targets.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 12 Jan 2021 08:22:47 +0000 (19:22 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 12 Jan 2021 08:33:27 +0000 (19:33 +1100)
.github/setup_ci.sh
.github/workflows/c-cpp.yml

index 2d489b7edfdf8b2d97d8610580a11381ca1c6f68..593e8ef13a6360c785b80db1c517c27dd949f3a4 100755 (executable)
@@ -2,7 +2,7 @@
 
 case $(./config.guess) in
 *-darwin*)
-       # no setup needed for Mac OS X
+       brew install automake
        exit 0
        ;;
 esac
index c019d96e7ad109c9b5034bb2767aa234114516ea..f2a9538da55e65903b1e586b75b053a1fa89be92 100644 (file)
@@ -93,3 +93,56 @@ jobs:
       env:
         SUDO: sudo
         TEST_SSH_UNSAFE_PERMISSIONS: 1
+
+
+  macos-10_15:
+
+    runs-on: macos-10.15
+
+    strategy:
+      matrix:
+        configs:
+        - ""
+        - "--with-pam"
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: setup CI system
+      run: ./.github/setup_ci.sh ${{ matrix.configs }}
+    - name: autoreconf
+      run: autoreconf
+    - name: configure
+      run: ./configure --with-ssl-dir=/usr/local/opt/openssl ${{ matrix.configs }}
+    - name: make
+      run: make
+    - name: make tests
+      run: ./.github/run_test.sh ${{ matrix.configs }}
+      env:
+        SUDO: sudo
+        TEST_SSH_UNSAFE_PERMISSIONS: 1
+
+  macos-11_0:
+
+    runs-on: macos-11.0
+
+    strategy:
+      matrix:
+        configs:
+        - ""
+        - "--with-pam"
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: setup CI system
+      run: ./.github/setup_ci.sh ${{ matrix.configs }}
+    - name: autoreconf
+      run: autoreconf
+    - name: configure
+      run: ./configure --with-ssl-dir=/usr/local/opt/openssl ${{ matrix.configs }}
+    - name: make
+      run: make
+    - name: make tests
+      run: ./.github/run_test.sh ${{ matrix.configs }}
+      env:
+        SUDO: sudo
+        TEST_SSH_UNSAFE_PERMISSIONS: 1