macOS #1440
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: | |
pull_request: | |
schedule: | |
- cron: "35 2 * * *" | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Install pkg-config | |
run: brew install pkg-config | |
- uses: actions/checkout@v2 | |
- name: Run build | |
run: cargo build --verbose | |
- name: Run unit tests | |
run: cargo test --verbose | |
- name: Install vcpkg | |
run: | | |
git clone https://github.com/Microsoft/vcpkg.git vcp | |
vcp/bootstrap-vcpkg.sh | |
- name: Run integration tests | |
run: tests/run.sh |