diff options
-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/' |