Skip to content

Commit 575cea4

Browse files
authored
Merge pull request #327 from cuviper/msrv-libc
Downgrade libc for CI
2 parents a25836e + 965e469 commit 575cea4

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,16 @@ jobs:
3131
i686:
3232
name: Test (i686)
3333
runs-on: ubuntu-latest
34+
env:
35+
CARGO_BUILD_TARGET: i686-unknown-linux-gnu
3436
steps:
3537
- run: |
3638
sudo apt-get update
3739
sudo apt-get install gcc-multilib
3840
- uses: actions/checkout@v4
39-
- uses: dtolnay/rust-toolchain@master
41+
- uses: dtolnay/rust-toolchain@stable
4042
with:
41-
toolchain: stable-i686-unknown-linux-gnu
43+
target: i686-unknown-linux-gnu
4244
- run: cargo build
4345
- run: ./ci/test_full.sh
4446

ci/test_full.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ fi
3737
# arbitrary 1.1.4 started using array::from_fn
3838
check_version 1.63.0 || cargo update -p arbitrary --precise 1.1.3
3939

40+
check_version 1.63.0 || cargo update -p libc --precise 0.2.163
41+
4042
set -x
4143

4244
# test the default with std
@@ -81,9 +83,16 @@ case "${STD_FEATURES[*]}" in
8183
cd ci/big_serde
8284
cargo test
8385
) ;;&
84-
*rand*) cargo test --manifest-path ci/big_rand/Cargo.toml ;;&
86+
*rand*) (
87+
cd ci/big_rand
88+
check_version 1.63.0 || cargo update -p libc --precise 0.2.163
89+
check_version 1.61.0 || cargo update -p ppv-lite86 --precise 0.2.17
90+
cargo test
91+
) ;;&
8592
*quickcheck*) (
8693
cd ci/big_quickcheck
94+
check_version 1.63.0 || cargo update -p libc --precise 0.2.163
95+
check_version 1.61.0 || cargo update -p syn --precise 2.0.67
8796
cargo test
8897
) ;;&
8998
esac

0 commit comments

Comments
 (0)