summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 3a75540700b54b82faaf7f323333ab5a3ff1e43e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: "archlinux:latest"

stages:
  - build
  - test

build:
  stage: build
  needs: []
  script:
    - pacman -Syu --noconfirm m4 make openssh subversion rsync arch-install-scripts git bzr mercurial diffutils asciidoc
    - make PREFIX=/usr
    - make PREFIX=/usr DESTDIR=build install

check:
  stage: test
  needs: []
  script:
    - pacman -Syu --noconfirm m4 make openssh subversion rsync arch-install-scripts git bzr mercurial diffutils asciidoc shellcheck
    - make check || true
    - SHELLCHECK_OPTS="-S error" make check