Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-07-31 15:33:45 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-07-31 15:37:21 +0200
commit32f1b7698fb7a5652de76d4ca00969a853fa6628 (patch)
tree787086d75442e90e98ef3e734b2c5fc3889f1c24
parentfb351d4a1be1fec8884aa6466235c6dcab43318f (diff)
Add gitlab CI integration
.gitlab-ci.yml: Add simple gitlab CI integration to run the check and install target.
-rw-r--r--.gitlab-ci.yml21
1 files changed, 21 insertions, 0 deletions
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