CI tweaks and show which stable Rust we are using
This commit is contained in:
parent
1dd13ca1b1
commit
04b523ff34
1 changed files with 9 additions and 3 deletions
12
src/tools/miri/.github/workflows/ci.yml
vendored
12
src/tools/miri/.github/workflows/ci.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue