From 54acc5872c74832a23931d86396e5f44439cdada Mon Sep 17 00:00:00 2001 From: Leonidas Spyropoulos Date: Thu, 27 Jan 2022 13:14:09 +0000 Subject: build: enable gitlab-ci Closes #85 Signed-off-by: Levente Polyak --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3-54-g00ecf