Skip to content

Commit 5f83fd9

Browse files
fix: install cross using --locked (#847)
1 parent 340c07c commit 5f83fd9

File tree

4 files changed

+2
-90
lines changed

4 files changed

+2
-90
lines changed

build-config/buildspec-linux-minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ phases:
2222
- . "$HOME/.cargo/env"
2323
- rustup toolchain install `cat rust-toolchain.toml | grep channel | cut -d '=' -f2 | tr -d ' "'`
2424
# Install cross only if the musl env var is set and not null
25-
- if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross; fi
25+
- if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross --locked; fi
2626
# Install python/node via mise (https://mise.jdx.dev/continuous-integration.html)
2727
- curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://mise.run | sh
2828
- mise install

build-config/buildspec-linux-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ phases:
2323
# Install tauri-cli, required for building and bundling the desktop app
2424
- cargo install --version 1.6.2 --locked tauri-cli
2525
# Install cross only if the musl env var is set and not null
26-
- if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross; fi
26+
- if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross --locked; fi
2727
# Install python/node via mise (https://mise.jdx.dev/continuous-integration.html)
2828
- curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://mise.run | sh
2929
- mise install

build-config/buildspec-linux.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

build-config/buildspec-macos.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)