Skip to content

Commit

Permalink
Added windows and macos runner (#554)
Browse files Browse the repository at this point in the history
* Added windows and macos runner

* Made the bash script use bash on windows
  • Loading branch information
VictorKoenders committed Jun 15, 2022
1 parent 85a9cc7 commit 1ca8275
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Expand Up @@ -72,9 +72,13 @@
},
"test": {
"name": "Test",
"runs-on": "ubuntu-latest",
"strategy": {
"matrix": {
"runner": [
"ubuntu-latest",
"windows-latest",
"macos-latest"
],
"rust": [
"stable",
# "1.55.0" TODO: Pick latest stable version when we release 2.0
Expand All @@ -94,6 +98,7 @@
]
}
},
"runs-on": "${{ matrix.runner }}",
"steps": [
{
"uses": "actions/checkout@v2",
Expand All @@ -116,6 +121,7 @@ else\n
cargo test --no-default-features --features ${{ matrix.features }}\n
fi",
"name": "Run `cargo test` on all features",
"shell": "bash",
"env": {
"RUSTFLAGS": "-D warnings"
}
Expand Down

0 comments on commit 1ca8275

Please sign in to comment.