@@ -139,64 +139,64 @@ jobs:
139139 fi
140140 cargo test --workspace --all-features --doc
141141
142- build_and_test_windows :
143- timeout-minutes : 30
144- name : " Tests"
145- runs-on : ${{ matrix.runner }}
146- strategy :
147- fail-fast : false
148- matrix :
149- name : [windows-latest]
150- rust : [ '${{ inputs.rust-version}}' ]
151- features : [all, none, default]
152- target :
153- - x86_64-pc-windows-msvc
154- include :
155- - name : windows-latest
156- os : windows
157- runner : [self-hosted, windows, x64]
158- env :
159- # Using self-hosted runners so use local cache for sccache and
160- # not SCCACHE_GHA_ENABLED.
161- RUSTC_WRAPPER : " sccache"
162- steps :
163- - name : Checkout
164- uses : actions/checkout@v4
165- with :
166- ref : ${{ inputs.git-ref }}
167-
168- - name : Install ${{ matrix.rust }}
169- run : |
170- rustup toolchain install ${{ matrix.rust }}
171- rustup toolchain default ${{ matrix.rust }}
172- rustup target add ${{ matrix.target }}
173- rustup set default-host ${{ matrix.target }}
174-
175- - name : Install cargo-nextest
176- shell : powershell
177- run : |
178- $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru
179- Invoke-WebRequest -OutFile $tmp https://get.nexte.st/latest/windows
180- $outputDir = if ($Env:CARGO_HOME) { Join-Path $Env:CARGO_HOME "bin" } else { "~/.cargo/bin" }
181- $tmp | Expand-Archive -DestinationPath $outputDir -Force
182- $tmp | Remove-Item
183-
184- - name : Select features
185- run : |
186- switch ("${{ matrix.features }}") {
187- "all" {
188- echo "FEATURES=--all-features" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
189- }
190- "none" {
191- echo "FEATURES=--no-default-features" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
192- }
193- "default" {
194- echo "FEATURES=" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
195- }
196- default {
197- Exit 1
198- }
199- }
142+ # build_and_test_windows:
143+ # timeout-minutes: 30
144+ # name: "Tests"
145+ # runs-on: ${{ matrix.runner }}
146+ # strategy:
147+ # fail-fast: false
148+ # matrix:
149+ # name: [windows-latest]
150+ # rust: [ '${{ inputs.rust-version}}' ]
151+ # features: [all, none, default]
152+ # target:
153+ # - x86_64-pc-windows-msvc
154+ # include:
155+ # - name: windows-latest
156+ # os: windows
157+ # runner: [self-hosted, windows, x64]
158+ # env:
159+ # # Using self-hosted runners so use local cache for sccache and
160+ # # not SCCACHE_GHA_ENABLED.
161+ # RUSTC_WRAPPER: "sccache"
162+ # steps:
163+ # - name: Checkout
164+ # uses: actions/checkout@v4
165+ # with:
166+ # ref: ${{ inputs.git-ref }}
167+
168+ # - name: Install ${{ matrix.rust }}
169+ # run: |
170+ # rustup toolchain install ${{ matrix.rust }}
171+ # rustup toolchain default ${{ matrix.rust }}
172+ # rustup target add ${{ matrix.target }}
173+ # rustup set default-host ${{ matrix.target }}
174+
175+ # - name: Install cargo-nextest
176+ # shell: powershell
177+ # run: |
178+ # $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru
179+ # Invoke-WebRequest -OutFile $tmp https://get.nexte.st/latest/windows
180+ # $outputDir = if ($Env:CARGO_HOME) { Join-Path $Env:CARGO_HOME "bin" } else { "~/.cargo/bin" }
181+ # $tmp | Expand-Archive -DestinationPath $outputDir -Force
182+ # $tmp | Remove-Item
183+
184+ # - name: Select features
185+ # run: |
186+ # switch ("${{ matrix.features }}") {
187+ # "all" {
188+ # echo "FEATURES=--all-features" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
189+ # }
190+ # "none" {
191+ # echo "FEATURES=--no-default-features" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
192+ # }
193+ # "default" {
194+ # echo "FEATURES=" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
195+ # }
196+ # default {
197+ # Exit 1
198+ # }
199+ # }
200200
201201 - name : Install sccache
202202 uses : mozilla-actions/sccache-action@v0.0.9
0 commit comments