Skip to content
Snippets Groups Projects
Commit da452a65 authored by Georges Racinet's avatar Georges Racinet
Browse files

CI/CD: work if Cargo is more globally available

For GitLab 15.9, we'll take advantage of the fact that
upstream CI image does have the Rust toolchain ( installed
to `/usr/local`).
However it did not keep `/root/.cargo/env`.
parent 203acd44
No related branches found
No related tags found
2 merge requests!176Making Heptapod 0.38 the new stable,!169Protocol v15.9 and stable branch merge"
......@@ -129,7 +129,7 @@
- make -C rust dev-dependencies
# prebuilding RHGitaly to avoid doing it from tests
# (output is interesting and we avoid timeout issues)
- . /root/.cargo/env
- test -e /root/.cargo/env && . /root/.cargo/env
- cargo build --manifest-path rust/Cargo.toml
- echo "Full test run with Gitaly and RHGitaly Comparison tests"
- ./run-all-tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment