diff options
author | Wez Furlong <wez@wezfurlong.org> | 2019-09-15 17:48:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 17:48:54 -0700 |
commit | 1198d94a0b5583371b25252a9e1491652b9c45dd (patch) | |
tree | 23fee9e7055d8a22d9c349cb941c9ab9a7616b08 | |
parent | 90cc8a3bf3e9a822d0dbb803720de756c07b6858 (diff) | |
download | ssh2-rs-1198d94a0b5583371b25252a9e1491652b9c45dd.zip |
Setup CI on macOS using GitHub Actions (#132)
-rw-r--r-- | .github/workflows/macos.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..6055b29 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,29 @@ +name: macOS + +on: + pull_request: + branches: + - master + +jobs: + build: + strategy: + fail-fast: false + matrix: + os: [macos-10.14] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v1 + - name: Install Rust + run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly + - name: Build and test + run: | + export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include + export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib + source $HOME/.cargo/env + rustc -V + cargo -V + cargo build + tests/run_integration_tests.sh + rustdoc --test README.md -L target + cargo run --manifest-path systest/Cargo.toml |