Move from cargo-make to just (#17) #23
This file contains hidden or 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 just | |
run: cargo install just | |
- name: Compile test | |
run: just 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 just | |
run: cargo install just | |
- name: Compile test | |
run: just 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 just | |
run: cargo install just | |
- name: Compile test | |
run: just build_test | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |