Add sr.ht CI
ober
711802da44fc2b720caf7ed5db75405c840cedde
new file mode 100644 --- /dev/null +++ b/.builds/ci.yml @@ -0,0 +1,33 @@ +image: debian/stable +arch: amd64 +packages: +- bash +- build-essential +- ca-certificates +- curl +- file +- git +- libncurses-dev +- make +- pkg-config +- tar +- libfuse-dev +- libssl-dev +- zlib1g-dev +- liblz4-dev +- cargo +- rustc +sources: +- https://git.sr.ht/~lisp/jerboa +- https://git.sr.ht/~lisp/jerboa-drive +tasks: +- build-jerboa: | + cd jerboa + make jerboa +- 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 +- verify: | + cd jerboa-drive + PATH="$HOME/jerboa/dist:$PATH" JERBUILD="$HOME/jerboa/dist/jerbuild" make verify