-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add windows and macos + formatting
- Loading branch information
1 parent
34ad174
commit 8637344
Showing
1 changed file
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
name: Rust | ||
name: Rust build & tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "master" | ||
- "master" | ||
tags: | ||
- '*' | ||
- "*" | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: cargo build --locked --verbose | ||
- name: Run tests | ||
run: cargo test --locked --verbose | ||
- uses: actions/checkout@v4 | ||
- name: Build | ||
run: cargo build --locked --verbose | ||
- name: Run tests | ||
run: cargo test --locked --verbose |