summarylogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 3d89d83fd38db930cc5695d9e8b94057b7b7cb83 (plain)
1
2
3
4
5
6
7
8
9
10
11
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/'