Skip to content

Commit

Permalink
Add GH Action to test on Windows and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Oct 10, 2023
1 parent ee3c767 commit 4020e3f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/windows_and_macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Windows & macOS

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false

matrix:
os:
- macos-latest
- windows-latest

steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit 4020e3f

Please sign in to comment.