summaryrefslogtreecommitdiffstats
path: root/.github/workflows/c-cpp.yml
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-01-12 19:22:47 +1100
committerDarren Tucker <dtucker@dtucker.net>2021-01-12 19:33:27 +1100
commitac112ade990585c511048ed4edaf2d9fc92b61f0 (patch)
tree6a4e3c125144163db9d09da597803b14da8e542e /.github/workflows/c-cpp.yml
parent1050109b4b2884bf50fd1b3aa084c7fd0a42ae90 (diff)
Add Mac OS X test targets.
Diffstat (limited to '.github/workflows/c-cpp.yml')
-rw-r--r--.github/workflows/c-cpp.yml53
1 files changed, 53 insertions, 0 deletions
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@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