index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | .github/workflows/test.yml | 15 | ||||
-rw-r--r-- | .gitlab-ci.yml | 21 |
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 300d8c0..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,15 +0,0 @@ -on: push -jobs: - test: - runs-on: ubuntu-latest - container: archlinux/archlinux:latest - steps: - - name: Install dependencies - run: pacman -Syu --noconfirm m4 make openssh subversion rsync arch-install-scripts git bzr mercurial diffutils asciidoc shellcheck - - uses: actions/checkout@v2 - - name: Run tests - run: | - make PREFIX=/usr - make PREFIX=/usr DESTDIR="$(mktemp -d)" install - make check || true - SHELLCHECK_OPTS="-S error" make check diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3a75540 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,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 |