File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -756,22 +756,24 @@ jobs:
756756
757757 miri :
758758 name : " Rust tests (miri)"
759- runs-on : ubuntu-latest
759+ runs-on : >-
760+ ${{ github.repository == 'vortex-data/vortex'
761+ && format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=rust-miri', github.run_id)
762+ || 'ubuntu-latest' }}
760763 timeout-minutes : 120
761764 env :
762765 MIRIFLAGS : -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-env-forward=RUST_BACKTRACE
763766 RUSTFLAGS : " -A warnings --cfg vortex_nightly"
764767 RUST_BACKTRACE : full
765768 steps :
766- - uses : actions/checkout@v6
767- - uses : ./.github/actions/setup-rust
768- with :
769- repo-token : ${{ secrets.GITHUB_TOKEN }}
770- toolchain : ${{ env.NIGHTLY_TOOLCHAIN }}
771- components : " rust-src, rustfmt, clippy, miri"
772- - uses : taiki-e/install-action@v2
769+ - uses : runs-on/action@v2
770+ if : github.repository == 'vortex-data/vortex'
773771 with :
774- tool : nextest
772+ sccache : s3
773+ - uses : actions/checkout@v6
774+ - uses : ./.github/actions/setup-prebuild
775+ - name : Install nightly with miri
776+ run : rustup toolchain install $NIGHTLY_TOOLCHAIN --component rust-src,rustfmt,clippy,miri
775777 - name : Run Miri
776778 run : cargo +$NIGHTLY_TOOLCHAIN miri nextest run --no-fail-fast -p vortex-buffer -p vortex-ffi
777779
You can’t perform that action at this time.
0 commit comments