Skip to content

Commit a474669

Browse files
[FB] Workflow | Use old version of rust for buding Floorp
1 parent 31689fc commit a474669

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

.github/workflows/linux-build.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,15 @@ jobs:
8787
8888
- name: setup Rust 🦀
8989
run: |
90+
91+
#? install rust version 1.77.2
92+
rustup toolchain install 1.77.2
93+
9094
if [[ $GHA_aarch64 == 'true' ]];then
91-
rustup target add aarch64-unknown-linux-gnu
95+
rustup target add aarch64-unknown-linux-gnu --toolchain 1.77.2
9296
fi
9397
94-
#? install rust version
95-
rustup install 1.77.2
98+
#? set default toolchain
9699
rustup default 1.77.2
97100
98101
#? https://github.com/mozilla/sccache#known-caveats

.github/workflows/macOS-Universal.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -187,18 +187,21 @@ jobs:
187187

188188
- name: setup Rust 🦀
189189
run: |
190+
191+
#? install rust version 1.77.2
192+
rustup toolchain install 1.77.2
193+
190194
if [[ $GHA_ARCH == 'x86_64' ]];then
191-
rustup target add x86_64-apple-darwin
195+
rustup target add x86_64-apple-darwin --toolchain 1.77.2
192196
else
193-
rustup target add aarch64-apple-darwin
197+
rustup target add aarch64-apple-darwin --toolchain 1.77.2
194198
fi
195199
200+
#? set default toolchain
201+
rustup default 1.77.2
202+
196203
#? https://github.com/mozilla/sccache#known-caveats
197204
export CARGO_INCREMENTAL=0
198-
199-
#? install rust version
200-
rustup install 1.77.2
201-
rustup default 1.77.2
202205
env:
203206
GHA_ARCH: ${{matrix.arch}}
204207

.github/workflows/windows-build.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,19 @@ jobs:
208208

209209
- name: setup Rust 🦀
210210
run: |
211+
212+
#? install rust version 1.77.2
213+
rustup toolchain install 1.77.2
214+
211215
if [[ $GHA_aarch64 == 'true' ]];then
212-
rustup target add aarch64-pc-windows-msvc
216+
rustup target add aarch64-pc-windows-msvc --toolchain 1.77.2
213217
elif [[ $GHA_32bit == 'true' ]];then
214-
rustup target add i686-pc-windows-msvc
218+
rustup target add i686-pc-windows-msvc --toolchain 1.77.2
215219
else
216220
rustup target add x86_64-pc-windows-msvc
217221
fi
218222
219-
#? install rust version
220-
rustup install 1.77.2
223+
#? set default toolchain
221224
rustup default 1.77.2
222225
223226
#? https://github.com/mozilla/sccache#known-caveats

0 commit comments

Comments
 (0)