mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2026-11-16 01:10:35 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed7099546b | ||
|
|
df2a88e9fe | ||
|
|
245fd7ab06 |
@@ -43,18 +43,3 @@ jobs:
|
|||||||
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
||||||
- run: cargo check
|
- run: cargo check
|
||||||
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
||||||
|
|
||||||
non-host:
|
|
||||||
name: Non-host toolchain on Windows
|
|
||||||
runs-on: windows-latest
|
|
||||||
timeout-minutes: 45
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v7
|
|
||||||
- uses: ./
|
|
||||||
with:
|
|
||||||
toolchain: stable-i686-pc-windows-msvc
|
|
||||||
- name: Check the active toolchain and compiler host
|
|
||||||
run: |
|
|
||||||
test "$(rustup show active-toolchain)" = "stable-i686-pc-windows-msvc (default)"
|
|
||||||
rustc --version --verbose | grep -Fx 'host: i686-pc-windows-msvc'
|
|
||||||
shell: bash
|
|
||||||
|
|||||||
+1
-4
@@ -6,9 +6,6 @@ branding:
|
|||||||
color: purple
|
color: purple
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
toolchain:
|
|
||||||
description: Rust toolchain specification -- see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification
|
|
||||||
required: true
|
|
||||||
targets:
|
targets:
|
||||||
description: Comma-separated list of target triples to install for this toolchain
|
description: Comma-separated list of target triples to install for this toolchain
|
||||||
required: false
|
required: false
|
||||||
@@ -53,7 +50,7 @@ runs:
|
|||||||
printf 'toolchain<<%s\n%s\n%s\n' "$delimiter" "$toolchain" "$delimiter" >> $GITHUB_OUTPUT
|
printf 'toolchain<<%s\n%s\n%s\n' "$delimiter" "$toolchain" "$delimiter" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
toolchain: ${{inputs.toolchain}}
|
toolchain: 1.68.2
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set $CARGO_HOME
|
- name: Set $CARGO_HOME
|
||||||
|
|||||||
Reference in New Issue
Block a user