Skip to content

Move from cargo-make to just (#17) #23

Move from cargo-make to just (#17)

Move from cargo-make to just (#17) #23

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