Skip to content

Commit

Permalink
fixup! ci(linux): move bindgen-cli installation into run.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Dec 4, 2024
1 parent f195ca4 commit 2d1c17b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ci/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ rustc -vV
cargo -vV

if [ -n "$INSTALL_BINDGEN" ]; then
(curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \
&& mv "$HOME"/.cargo/bin/bindgen /usr/bin) \
|| cargo install --force --locked bindgen-cli --root=/usr/bin
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh -s -- --no-modify-path \
|| cargo install --force --locked bindgen-cli
fi


Expand Down

0 comments on commit 2d1c17b

Please sign in to comment.