Skip to content

Commit 4d1e030

Browse files
committed
use newer stable Rust on Windows
1 parent 5f3c8f8 commit 4d1e030

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v3
3636

37+
# We're running into strange trouble with stable Rust on Windows,
38+
# let's try to get the latest version.
39+
- name: Get latest stable Rust
40+
if: ${{ matrix.os == 'windows-latest' }}
41+
run: rustup update
42+
- name: Show Rust version (stable toolchain)
43+
run: |
44+
rustup show
45+
rustc -Vv
46+
cargo -V
47+
3748
# Cache the global cargo directory, but NOT the local `target` directory which
3849
# we cannot reuse anyway when the nightly changes (and it grows quite large
3950
# over time).
@@ -57,21 +68,21 @@ jobs:
5768
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
5869
run: cargo install -f rustup-toolchain-install-master
5970

60-
- name: Install "master" toolchain
71+
- name: Install miri toolchain
6172
run: |
6273
if [[ ${{ github.event_name }} == 'schedule' ]]; then
6374
echo "Building against latest rustc git version"
6475
git ls-remote https://github.com/rust-lang/rust/ HEAD | cut -f 1 > rust-version
6576
fi
6677
./miri toolchain --host ${{ matrix.host_target }}
6778
68-
- name: Show Rust version
79+
- name: Show Rust version (miri toolchain)
6980
run: |
7081
rustup show
7182
rustc -Vv
7283
cargo -V
7384
74-
- name: Test
85+
- name: Test Miri
7586
run: ./ci/ci.sh
7687

7788
style:

0 commit comments

Comments
 (0)