Skip to content

Commit 453eca2

Browse files
committed
Win7 tests
Signed-off-by: Joe Richey <[email protected]>
1 parent 0d55923 commit 453eca2

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/tests.yml

+18-1
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,29 @@ jobs:
153153
]
154154
steps:
155155
- uses: actions/checkout@v3
156-
- uses: dtolnay/rust-toolchain@master
156+
- uses: dtolnay/rust-toolchain@stable
157157
with:
158158
toolchain: ${{ matrix.toolchain }}
159159
- uses: Swatinem/rust-cache@v2
160160
- run: cargo test --features=std
161161

162+
windows7:
163+
name: Windows 7 Test
164+
runs-on: windows-2022
165+
strategy:
166+
matrix:
167+
target: [
168+
i686-win7-windows-msvc,
169+
x86_64-win7-windows-msvc,
170+
]
171+
steps:
172+
- uses: actions/checkout@v3
173+
- uses: dtolnay/rust-toolchain@nightly
174+
with:
175+
components: rust-src
176+
- uses: Swatinem/rust-cache@v2
177+
- run: cargo test --target=${{ matrix.target }} -Z build-std --features=std
178+
162179
cross-tests:
163180
name: Cross Test
164181
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)