mirror of https://git.sr.ht/~stygianentity/bincode
Added windows and macos runner (#554)
* Added windows and macos runner * Made the bash script use bash on windows
This commit is contained in:
parent
bd07adea66
commit
21561c3eb8
|
|
@ -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
|
||||
|
|
@ -94,6 +98,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"runs-on": "${{ matrix.runner }}",
|
||||
"steps": [
|
||||
{
|
||||
"uses": "actions/checkout@v2",
|
||||
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue