Compare commits

..
4 Commits
Author SHA1 Message Date
David Tolnay 5c5945c76e components: clippy 2026-11-14 18:32:18 -08:00
David Tolnay 6a52aad76a toolchain: nightly 2026-11-14 18:32:18 -08:00
David Tolnay df2a88e9fe Merge pull request #190 from dtolnay/nonhost
Delete test of non-host toolchain on Windows
2026-11-14 18:31:51 -08:00
David Tolnay 245fd7ab06 Delete test of non-host toolchain on Windows 2026-11-14 18:30:20 -08:00
2 changed files with 6 additions and 16 deletions
-15
View File
@@ -43,18 +43,3 @@ jobs:
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
- run: cargo check
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
+6 -1
View File
@@ -6,6 +6,10 @@ branding:
color: purple
inputs:
toolchain:
description: Rust toolchain specification -- see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification
required: false
default: nightly
targets:
description: Comma-separated list of target triples to install for this toolchain
required: false
@@ -15,6 +19,7 @@ inputs:
components:
description: Comma-separated list of components to be additionally installed
required: false
default: clippy
outputs:
cachekey:
@@ -50,7 +55,7 @@ runs:
printf 'toolchain<<%s\n%s\n%s\n' "$delimiter" "$toolchain" "$delimiter" >> $GITHUB_OUTPUT
fi
env:
toolchain: 1.84.1
toolchain: ${{inputs.toolchain}}
shell: bash
- name: Set $CARGO_HOME