CI tweaks and show which stable Rust we are using

This commit is contained in:
Ralf Jung 2024-03-24 14:01:28 +01:00
parent 1dd13ca1b1
commit 04b523ff34

View File

@ -34,6 +34,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Show Rust version (stable toolchain)
run: |
rustup show
rustc -Vv
cargo -V
# Cache the global cargo directory, but NOT the local `target` directory which
# we cannot reuse anyway when the nightly changes (and it grows quite large
# over time).
@ -57,7 +63,7 @@ jobs:
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: cargo install -f rustup-toolchain-install-master
- name: Install "master" toolchain
- name: Install miri toolchain
run: |
if [[ ${{ github.event_name }} == 'schedule' ]]; then
echo "Building against latest rustc git version"
@ -65,13 +71,13 @@ jobs:
fi
./miri toolchain --host ${{ matrix.host_target }}
- name: Show Rust version
- name: Show Rust version (miri toolchain)
run: |
rustup show
rustc -Vv
cargo -V
- name: Test
- name: Test Miri
run: ./ci/ci.sh
style: