From b83e6418512b39c4a6899ab4f8cc43f941d16f05 Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Wed, 12 Oct 2022 21:37:03 +0200 Subject: [PATCH] CI: Use basolute path for cargo binary --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e56328e..c0afb789 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,11 +29,11 @@ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh - chmod +x ./rustup.sh - ./rustup.sh -y --default-toolchain beta - - source ~/.cargo/env + - source $HOME/.cargo/env script: - - ~/.cargo/bin/cargo build --manifest-path src/rust/liblektor-rs/Cargo.toml - - ~/.cargo/bin/cargo build --manifest-path src/rust/amadeus-rs/Cargo.toml - - cmake -Bbuild -DCMAKE_RUST_COMPILER=~/.cargo/bin/cargo -DCMAKE_C_COMPILER=${c_compiler} -DCMAKE_CXX_COMPILER=${cxx_compiler} && make -Cbuild + - $HOME/.cargo/bin/cargo build --manifest-path src/rust/liblektor-rs/Cargo.toml + - $HOME/.cargo/bin/cargo build --manifest-path src/rust/amadeus-rs/Cargo.toml + - cmake -Bbuild -DCMAKE_RUST_COMPILER=$HOME/.cargo/bin/cargo -DCMAKE_C_COMPILER=${c_compiler} -DCMAKE_CXX_COMPILER=${cxx_compiler} && make -Cbuild variables: GIT_DEPTH: 3 # No need to clone all the history -- GitLab