From 35c1a0f0153b0572a1fb1219ac7ba8fe54cb6843 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 7 Mar 2021 18:18:30 +0100 Subject: Add srht CI build Signed-off-by: Matthias Beyer --- .builds/msrv.yml | 16 ++++++++++++++++ .builds/stable.yml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .builds/msrv.yml create mode 100644 .builds/stable.yml diff --git a/.builds/msrv.yml b/.builds/msrv.yml new file mode 100644 index 0000000..459e785 --- /dev/null +++ b/.builds/msrv.yml @@ -0,0 +1,16 @@ +image: debian/buster +sources: + - https://git.sr.ht/~matthiasbeyer/option-inspect +tasks: + - install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.33.0 + - build: | + cd option-inspect + PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features + - test: | + cd option-inspect + PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features +triggers: + - action: email + condition: always + to: mail@beyermatthias.de + diff --git a/.builds/stable.yml b/.builds/stable.yml new file mode 100644 index 0000000..6b98df7 --- /dev/null +++ b/.builds/stable.yml @@ -0,0 +1,16 @@ +image: debian/buster +sources: + - https://git.sr.ht/~matthiasbeyer/option-inspect +tasks: + - install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + - build: | + cd option-inspect + PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features + - test: | + cd option-inspect + PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features +triggers: + - action: email + condition: always + to: mail@beyermatthias.de + -- cgit v1.2.3