summarylogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorStefan Wimmer2022-12-12 15:22:01 +0100
committerStefan Wimmer2022-12-12 15:22:01 +0100
commit2fb708ed4e70f94632c427017168577350cb1ff8 (patch)
tree0781e682ae5a3f64ad01c07c7d2dfab0d1b5dd75 /.gitlab-ci.yml
parent09dd4f9058bf34f25d030e05590938f47dd2af45 (diff)
downloadaur-2fb708ed4e70f94632c427017168577350cb1ff8.tar.gz
Add GitLab CI
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