diff options
author | christian | 2021-02-23 18:58:48 +0100 |
---|---|---|
committer | christian | 2021-02-23 18:58:48 +0100 |
commit | 6a239baff8537ac38a8fd88e418987573ea528df (patch) | |
tree | 98523629bd69cfcb7822ec1e6d4af6a5fabae52b | |
parent | 598426f5ff78bd26e04004cadfbdd292378b0bfa (diff) | |
download | aur-6a239baff8537ac38a8fd88e418987573ea528df.tar.gz |
adds gitlab-ci workflow
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | .gitlab-ci.yml | 12 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..9ea87693bc3e --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# ignore everything +* +*/ + +# exclude from ignore +!PKGBUILD +!.gitignore +!.gitlab-ci.yml +!.SRCINFO 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/' |