Skip to content

Commit

Permalink
Github action: compile also on MacOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
JEnoch committed Jul 2, 2020
1 parent 478eefb commit 9a3ea5f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Expand Up @@ -22,7 +22,11 @@ on:
jobs:
build:

runs-on: ubuntu-latest
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v2
Expand All @@ -44,6 +48,6 @@ jobs:
- name: Build
run: cargo build --verbose --all-targets
- name: Clippy
run: cargo clippy
run: cargo clippy --all --examples
- name: Run tests
run: cargo test --verbose

0 comments on commit 9a3ea5f

Please sign in to comment.