Install Rust before make jerboa (native-bundle needs cargo)
ober
3988648b91f4c83b16f66187ebc1b7edcf24b6a5
--- a/.builds/ci.yml +++ b/.builds/ci.yml @@ -14,8 +14,6 @@ packages: - libssl-dev - zlib1g-dev - liblz4-dev -- cargo -- rustc sources: - https://git.sr.ht/~lisp/jerboa - https://git.sr.ht/~lisp/jerboa-aws @@ -24,12 +22,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-aws J="$HOME/jerboa/dist/jerboa"