Skip to content

Commit b0e2a8f

Browse files
authored
CI: use ubuntu-latest as default cmov test runner (#1439)
1 parent 95ec137 commit b0e2a8f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/cmov.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,30 +71,26 @@ jobs:
7171

7272
# `x86` Linux (32-bit)
7373
- target: i686-unknown-linux-gnu
74-
platform: ubuntu-latest
7574
rust: 1.85.0 # MSRV
7675
deps: sudo apt update && sudo apt install gcc-multilib
7776
- target: i686-unknown-linux-gnu
78-
platform: ubuntu-latest
7977
rust: stable
8078
deps: sudo apt update && sudo apt install gcc-multilib
8179

8280
# `x86_64` Linux
8381
- target: x86_64-unknown-linux-gnu
84-
platform: ubuntu-latest
8582
rust: 1.85.0 # MSRV
8683
- target: x86_64-unknown-linux-gnu
87-
platform: ubuntu-latest
8884
rust: stable
8985

9086
# `x86_64` Windows
9187
- target: x86_64-pc-windows-msvc
92-
platform: windows-latest
88+
runner: windows-latest
9389
rust: 1.85.0 # MSRV
9490
- target: x86_64-pc-windows-msvc
95-
platform: windows-latest
91+
runner: windows-latest
9692
rust: stable
97-
runs-on: ${{ matrix.platform }}
93+
runs-on: ${{ matrix.runner != '' && matrix.runner || 'ubuntu-latest' }}
9894
steps:
9995
- uses: actions/checkout@v6
10096
- uses: RustCrypto/actions/cargo-cache@master
@@ -103,7 +99,7 @@ jobs:
10399
toolchain: ${{ matrix.rust }}
104100
targets: ${{ matrix.target }}
105101
- run: ${{ matrix.deps }}
106-
- run: cargo test --target ${{ matrix.target }}
102+
- run: cargo test --target ${{ matrix.target }} --all-features
107103

108104
# Test using `cargo careful`
109105
test-careful:

0 commit comments

Comments
 (0)