[openssh-commits] [openssh] 01/01: Add Mac OS X test targets.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Jan 12 19:33:52 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 ac112ade990585c511048ed4edaf2d9fc92b61f0
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Tue Jan 12 19:22:47 2021 +1100

    Add Mac OS X test targets.
---
 .github/setup_ci.sh         |  2 +-
 .github/workflows/c-cpp.yml | 53 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 1 deletion(-)

diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index 2d489b7e..593e8ef1 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -2,7 +2,7 @@
 
 case $(./config.guess) in
 *-darwin*)
-	# no setup needed for Mac OS X
+	brew install automake
 	exit 0
 	;;
 esac
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index c019d96e..f2a9538d 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -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 at 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 at 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

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


More information about the openssh-commits mailing list