Merge pull request #335 from yodaldevoid/ci-rust-toolchain-action #239
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-12, macos-13, macos-14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Build and test | |
run: | | |
rustc -V | |
cargo -V | |
cargo build | |
tests/run_integration_tests.sh | |
rustdoc --test README.md -L target | |
cargo run --manifest-path systest/Cargo.toml |