Skip to content

Commit c1d7013

Browse files
committed
simplify
1 parent 4fede22 commit c1d7013

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/rust.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ jobs:
5858
strategy:
5959
matrix:
6060
os: ["ubuntu-20.04", "windows-2019"]
61-
include:
62-
- os: "ubuntu-20.04"
63-
target: "x86_64-unknown-linux-musl"
64-
- os: "windows-2019"
65-
target: "x86_64-pc-windows-gnu"
6661
fail-fast: false
6762
runs-on: ${{ matrix.os }}
6863
steps:
@@ -76,17 +71,15 @@ jobs:
7671
run: |
7772
rm -r .cargo
7873
cd minion-tests
79-
TARGET=${{ matrix.target }}
80-
rustup target add $TARGET
81-
cargo build -Zunstable-options --out-dir=../out --target=$TARGET
74+
rustup target add x86_64-unknown-linux-musl
75+
cargo build -Zunstable-options --out-dir=../out --target=x86_64-unknown-linux-musl
8276
- name: Compile tests (Windows)
8377
if: matrix.os == 'windows-2019'
8478
run: |
8579
rm -r .cargo
8680
cd minion-tests
87-
$TARGET=${{ matrix.target }}
88-
rustup target add $TARGET
89-
cargo build -Zunstable-options --out-dir=../out --target=$TARGET
81+
rustup target add x86_64-pc-windows-gnu
82+
cargo build -Zunstable-options --out-dir=../out --target=x86_64-pc-windows-gnu
9083
- name: Run tests (Linux)
9184
if: matrix.os == 'ubuntu-20.04'
9285
timeout-minutes: 3

0 commit comments

Comments
 (0)