mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 03:18:19 +00:00
Update Rust toolchain version in CI workflows and add .rust-toolchain file
This commit is contained in:
2
.github/workflows/linux-release-build.yml
vendored
2
.github/workflows/linux-release-build.yml
vendored
@@ -91,7 +91,7 @@ jobs:
|
|||||||
- name: Fix Rust version
|
- name: Fix Rust version
|
||||||
run: |
|
run: |
|
||||||
# Install a rust version compatible with LLVM 18
|
# Install a rust version compatible with LLVM 18
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(cat .rust-toolchain)
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
|
|
||||||
if test "${{ matrix.arch }}" = "aarch64"; then
|
if test "${{ matrix.arch }}" = "aarch64"; then
|
||||||
|
2
.github/workflows/macos-release-build.yml
vendored
2
.github/workflows/macos-release-build.yml
vendored
@@ -82,7 +82,7 @@ jobs:
|
|||||||
|
|
||||||
brew install watchman
|
brew install watchman
|
||||||
|
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(cat .rust-toolchain)
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
|
|
||||||
if test "${{ matrix.arch }}" = "aarch64"; then
|
if test "${{ matrix.arch }}" = "aarch64"; then
|
||||||
|
4
.github/workflows/windows-release-build.yml
vendored
4
.github/workflows/windows-release-build.yml
vendored
@@ -176,14 +176,14 @@ jobs:
|
|||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
if: ${{ !(inputs.generate-gpo && matrix.arch == 'aarch64') }}
|
if: ${{ !(inputs.generate-gpo && matrix.arch == 'aarch64') }}
|
||||||
run: |
|
run: |
|
||||||
cd engine/
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(cat .rust-toolchain)
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.81
|
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
if test "${{ matrix.arch }}" = "aarch64"; then
|
if test "${{ matrix.arch }}" = "aarch64"; then
|
||||||
rustup target add aarch64-pc-windows-msvc
|
rustup target add aarch64-pc-windows-msvc
|
||||||
else
|
else
|
||||||
rustup target add x86_64-pc-windows-msvc
|
rustup target add x86_64-pc-windows-msvc
|
||||||
fi
|
fi
|
||||||
|
cd engine/
|
||||||
cargo install cargo-download --locked
|
cargo install cargo-download --locked
|
||||||
cargo download -x windows=0.58.0
|
cargo download -x windows=0.58.0
|
||||||
export CARGO_INCREMENTAL=0
|
export CARGO_INCREMENTAL=0
|
||||||
|
1
.rust-toolchain
Normal file
1
.rust-toolchain
Normal file
@@ -0,0 +1 @@
|
|||||||
|
1.82
|
2
l10n
2
l10n
Submodule l10n updated: 778cb128c6...4094426d24
Reference in New Issue
Block a user