mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
Add Mac OS X test targets.
This commit is contained in:
parent
1050109b4b
commit
ac112ade99
2
.github/setup_ci.sh
vendored
2
.github/setup_ci.sh
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
case $(./config.guess) in
|
case $(./config.guess) in
|
||||||
*-darwin*)
|
*-darwin*)
|
||||||
# no setup needed for Mac OS X
|
brew install automake
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
53
.github/workflows/c-cpp.yml
vendored
53
.github/workflows/c-cpp.yml
vendored
@ -93,3 +93,56 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SUDO: sudo
|
SUDO: sudo
|
||||||
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user