Install Rust before make jerboa (native-bundle needs cargo)
ober
22745e24b878ac1e116b819ee68b463155a20bb7
--- a/.builds/ci.yml +++ b/.builds/ci.yml @@ -13,8 +13,6 @@ packages: - tar - zlib1g-dev - liblz4-dev -- cargo -- rustc sources: - https://git.sr.ht/~lisp/jerboa - https://git.sr.ht/~lisp/jerboa-secmonlib @@ -23,12 +21,11 @@ artifacts: tasks: - build-jerboa: | cd jerboa + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ + sh -s -- -y --profile minimal --default-toolchain 1.94.1 + source "$HOME/.cargo/env" make jerboa CHEZ_CONFIGURE_EXTRA=--disable-x11 echo 'export PATH="$HOME/jerboa/dist:$PATH"' >> ~/.buildenv -- setup-rust: | - # Install Rust toolchain matching jerboa's native FFI build. - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.88.0 - echo 'source "$HOME/.cargo/env"' >> ~/.buildenv - package: | cd jerboa-secmonlib J="$HOME/jerboa/dist/jerboa"