From 21561c3eb86785d0223aa4f0890fcd9d94038f2d Mon Sep 17 00:00:00 2001 From: Trangar Date: Wed, 15 Jun 2022 22:26:20 +0200 Subject: [PATCH] Added windows and macos runner (#554) * Added windows and macos runner * Made the bash script use bash on windows --- .github/workflows/rust.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1fd57f4..151006e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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" }