From d602dd10dfeb50f43c1107843624ea9856b64206 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Fri, 22 May 2020 02:18:30 +0200 Subject: [PATCH] ci: Build both arch and alpine --- .builds/alpine.yml | 11 +++++++++++ .build.yml => .builds/archlinux.yml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .builds/alpine.yml rename .build.yml => .builds/archlinux.yml (89%) diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 0000000..f115045 --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,11 @@ +image: alpine/edge +packages: + - cargo + - linux-pam-dev +sources: + - https://git.sr.ht/~kennylevinsen/greetd +tasks: + - test: | + cd greetd + cargo check --locked --all-targets --all-features + cargo test --locked --all-targets --all-features diff --git a/.build.yml b/.builds/archlinux.yml similarity index 89% rename from .build.yml rename to .builds/archlinux.yml index 197d564..ffa4385 100644 --- a/.build.yml +++ b/.builds/archlinux.yml @@ -16,4 +16,4 @@ tasks: - test: | cd greetd cargo check --locked --all-targets --all-features - cargo test --all-targets --all-features + cargo test --locked --all-targets --all-features