fix: source cargo env in ci

This commit is contained in:
Gabriele Musco 2023-09-24 10:40:08 +02:00
parent 14bb141a53
commit acdeb9be52
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -27,6 +27,7 @@ cargo:test:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh
- chmod +x /tmp/rustup.sh
- /tmp/rustup.sh -y
- source "$HOME/.cargo/env"
- rustc --version && cargo --version # Print version info for debugging
- meson setup build -Dprefix="$PWD/build/localprefix" -Dprofile=development
- ninja -C build
@ -45,6 +46,7 @@ appimage:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh
- chmod +x /tmp/rustup.sh
- /tmp/rustup.sh -y
- source "$HOME/.cargo/env"
- bash ./dist/appimage/build_appimage.sh
artifacts:
paths: