Skip to content

Switch to windows-sys #41

Switch to windows-sys

Switch to windows-sys #41

Workflow file for this run

name: Build
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --all-targets
- name: Run tests
run: cargo test --verbose
if: runner.os != 'macOS'
- name: Run tests (macos)
run: sudo "PATH=$PATH" cargo test --verbose
if: runner.os == 'macOS'