Linux CI #14
Workflow file for this run
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: build and test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: install cxxbridge | |
run: cargo install cxxbridge-cmd | |
- name: install cargo-make | |
run: cargo install cargo-make | |
- name: Compile test | |
run: cargo make build_test | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
macos: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install cxxbridge | |
run: cargo install cxxbridge-cmd | |
- name: install cargo-make | |
run: cargo install cargo-make | |
- name: Compile test | |
run: cargo make build_test | |
- name: Build | |
run: cargo build --verbose | |
# - name: Run tests | |
# run: cargo test --verbose | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install cxxbridge | |
run: cargo install cxxbridge-cmd | |
- name: install cargo-make | |
run: cargo install cargo-make | |
- name: Compile test | |
run: cargo make build_test | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |