Skip to content

Commit cb62226

Browse files
committed
install rustup from the script
1 parent 9e69811 commit cb62226

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
with:
158158
msystem: UCRT64
159159
update: true
160-
install: diffutils m4 make mingw-w64-rustup
160+
install: diffutils m4 make # mingw-w64-rustup
161161

162162
- name: Run on Windows
163163
if: matrix.os == 'windows-2025'

ci/run-windows.sh

+9-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ target="$1"
77
m4 --help
88
make --help
99

10-
rustup update nightly-x86_64-gnu
11-
rustup default nightly-x86_64-gnu
12-
rustup target add "$target"
10+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs |
11+
sh --default-toolchain nightly-x86_64-gnu \
12+
--target "$target" \
13+
14+
cargo -vV
15+
16+
# rustup update nightly-x86_64-gnu
17+
# rustup default nightly-x86_64-gnu
18+
# rustup target add "$target"
1319

1420
./ci/run.sh ${{ matrix.target }}

0 commit comments

Comments
 (0)