From b6d406d4af1d043b3b3283e8f23d898a0bc2b6c6 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Wed, 4 May 2022 17:11:03 +0200 Subject: [PATCH] infra: add sr.ht build script --- .builds/openbsd.yml | 16 ++++++++++++++++ .gitignore | 1 + 2 files changed, 17 insertions(+) create mode 100644 .builds/openbsd.yml diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml new file mode 100644 index 00000000..7b060121 --- /dev/null +++ b/.builds/openbsd.yml @@ -0,0 +1,16 @@ +image: archlinux +sources: + - https://github.com/mahkoh/jay +tasks: + - install: | + sudo pacman -S rustup + rustup toolchain install stable + rustup default stable + - build: | + cd jay + cargo build --features it + - test: | + cd jay + export RUSTC_BOOTSTRAP=1 + export RUST_BACKTRACE=1 + cargo run --features it -- run-tests diff --git a/.gitignore b/.gitignore index aa39b719..54919650 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .* !.gitignore !/.cargo +!/.builds /target /testruns