From 32f1b7698fb7a5652de76d4ca00969a853fa6628 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 31 Jul 2021 15:33:45 +0200 Subject: Add gitlab CI integration .gitlab-ci.yml: Add simple gitlab CI integration to run the check and install target. --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..24e5128 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +--- + +image: archlinux:latest + +stages: + - check + - integration + +check: + before_script: + - pacman --noconfirm -Syu --needed make shellcheck shfmt + script: + - make check + stage: check + +test_installation: + before_script: + - pacman --noconfirm -Syu --needed make + script: + - make install PREFIX=/usr + stage: integration -- cgit v1.2.3-54-g00ecf