Skip to content
This repository was archived by the owner on Jun 10, 2023. It is now read-only.

Commit 3988f19

Browse files
committed
Apply workaround for rust-lang/rust#90056
1 parent 23f306d commit 3988f19

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ jobs:
136136
runs-on: ${{ matrix.os }}
137137
strategy:
138138
matrix:
139-
os: [ubuntu-latest, windows-latest]
139+
include:
140+
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest }
141+
- { target: x86_64-pc-windows-msvc, os: windows-latest }
140142
needs: check
141143
steps:
142144
- uses: actions/checkout@v3
@@ -157,7 +159,7 @@ jobs:
157159
- uses: actions-rs/cargo@v1
158160
with:
159161
command: test
160-
args: --all-features --no-fail-fast
162+
args: --all-features --no-fail-fast --target ${{ matrix.target }} # target is fix for https://github.com/rust-lang/rust/issues/90056#issuecomment-1242955859
161163
env:
162164
CARGO_INCREMENTAL: "0"
163165
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"

0 commit comments

Comments
 (0)