Skip to content

Commit d0507d8

Browse files
committed
Do not run CI tests on MSRV because dependencies break the build.
1 parent d30eb53 commit d0507d8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
# All generated code should be running on stable now
1817
rust: [stable]
19-
20-
# The default target we're compiling on and for
2118
TARGET: [x86_64-unknown-linux-gnu, armv7-unknown-linux-gnueabihf]
2219

2320
include:
24-
# Test MSRV
21+
# Build on MSRV
2522
- rust: 1.65.0
2623
TARGET: x86_64-unknown-linux-gnu
2724

@@ -31,7 +28,7 @@ jobs:
3128
TARGET: x86_64-unknown-linux-gnu
3229

3330
steps:
34-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v5
3532
- uses: dtolnay/rust-toolchain@master
3633
with:
3734
toolchain: ${{ matrix.rust }}
@@ -41,12 +38,13 @@ jobs:
4138
if: ${{ matrix.TARGET == 'armv7-unknown-linux-gnueabihf' }}
4239
run: sudo apt-get update && sudo apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf
4340

44-
- run: cargo test --target=${{ matrix.TARGET }}
45-
if: ${{ matrix.TARGET != 'armv7-unknown-linux-gnueabihf' }}
46-
4741
- run: cargo build --target=${{ matrix.TARGET }}
4842
if: ${{ matrix.TARGET == 'armv7-unknown-linux-gnueabihf' }}
4943

44+
# We do not run tests on MSRV because of requirements of the additional dependencies
45+
- run: cargo test --target=${{ matrix.TARGET }}
46+
if: ${{ matrix.TARGET != 'armv7-unknown-linux-gnueabihf' && matrix.rust != '1.65.0' }}
47+
5048
ci-macos:
5149
name: CI-macOS
5250
runs-on: macos-14
@@ -57,11 +55,13 @@ jobs:
5755
TARGET: [x86_64-apple-darwin, aarch64-apple-darwin]
5856

5957
steps:
60-
- uses: actions/checkout@v3
58+
- uses: actions/checkout@v5
6159
- uses: dtolnay/rust-toolchain@master
6260
with:
6361
toolchain: ${{ matrix.rust }}
6462
target: ${{ matrix.TARGET }}
6563

6664
- run: cargo build --target=${{ matrix.TARGET }}
65+
# We do not run tests on MSRV because of requirements of the additional dependencies
6766
- run: cargo test --target=${{ matrix.TARGET }}
67+
if: ${{ matrix.rust != '1.65.0'}}

0 commit comments

Comments
 (0)