summarylogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000000..fa49e15bb4e1
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+stages:
+ - build
+
+build:
+ stage: build
+ image: archlinux:base-devel
+ script:
+ - pacman -Syu --noconfirm
+ - useradd builduser -m
+ - passwd -d builduser
+ - printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers
+ - sudo -u builduser sh -c "gpg --recv-key EBE41E90F6F12F6D && makepkg -s --noconfirm"
+ artifacts:
+ paths:
+ - firedragon-*.pkg.tar.zst
+ timeout: 2h