Skip to content

Commit bec501f

Browse files
committed
CI optimization?
- `profile = "minimal"` might speed up toolchain install times - make `Install` more atomic/thorough, bump in front of `Info` lest `rustc -V` implicitly install stuff.
1 parent 0801512 commit bec501f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
runs-on: windows-2019
3838
steps:
3939
- uses: actions/checkout@v2
40+
- name: Install
41+
run: |
42+
rustup target add x86_64-pc-windows-msvc i686-pc-windows-msvc
4043
- name: Info
4144
run: |
4245
rustc -V
4346
cargo -V
4447
cmd /C ver
45-
- name: Install
46-
run: |
47-
rustup target add i686-pc-windows-msvc
4848
- name: Test
4949
run: scripts\build

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
# https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file
12
[toolchain]
23
channel = "1.81.0" # MSRV: mcom = "0.1.5"
4+
profile = "minimal"

0 commit comments

Comments
 (0)