make sure we install the toolchain for the intended host target
This commit is contained in:
parent
561dce772f
commit
61a25fd270
2 changed files with 7 additions and 1 deletions
2
src/tools/miri/.github/workflows/ci.yml
vendored
2
src/tools/miri/.github/workflows/ci.yml
vendored
|
|
@ -30,6 +30,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/workflows/setup
|
||||
with:
|
||||
toolchain_flags: "--host ${{ matrix.host_target }}"
|
||||
|
||||
# The `style` job only runs on Linux; this makes sure the Windows-host-specific
|
||||
# code is also covered by clippy.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
name: "Miri CI setup"
|
||||
description: "Sets up Miri CI"
|
||||
inputs:
|
||||
toolchain_flags:
|
||||
required: false
|
||||
default: ''
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
|
@ -45,7 +49,7 @@ runs:
|
|||
echo "Building against latest rustc git version"
|
||||
git ls-remote https://github.com/rust-lang/rust/ HEAD | cut -f 1 > rust-version
|
||||
fi
|
||||
./miri toolchain
|
||||
./miri toolchain ${{ inputs.toolchain_flags }}
|
||||
shell: bash
|
||||
|
||||
- name: Show Rust version (miri toolchain)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue