summarylogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000000..3d89d83fd38d
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+image: "registry.devseed.de/all-the-things/docker-archlinux"
+
+test:makepkg
+ script:
+ # Test building a source package
+ - sudo -u nobody makepkg -C -S --log --noconfirm
+ # Test building and installing the package
+ - sudo -u nobody makepkg -C -i --log --noconfirm
+
+ #curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
+ #grep '"tag_name":' | # Get tag line
+ #sed -E 's/.*"([^"]+)".*/\1/'