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