Skip to content

build on windows and macos #19

build on windows and macos

build on windows and macos #19

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Cancel existing runs on this branch
uses: fauguste/auto-cancellation-running-action@0.1.4
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
build-macos:
runs-on: macos-latest
steps:
- name: Cancel existing runs on this branch
uses: fauguste/auto-cancellation-running-action@0.1.4
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose