summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrigu@axis.com>2019-11-11 19:09:01 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-20 12:09:22 +0100
commitb34b32adf68143041264d82080129817918433d6 (patch)
treee5f26f38df8b919dc00e10225d564fb2ee64d686 /.gitlab-ci.yml
parent800488a1ef171da1f9c178aa57e87b2aac68463b (diff)
downloadapk-tools-b34b32adf68143041264d82080129817918433d6.tar.gz
apk-tools-b34b32adf68143041264d82080129817918433d6.tar.bz2
apk-tools-b34b32adf68143041264d82080129817918433d6.tar.xz
apk-tools-b34b32adf68143041264d82080129817918433d6.zip
Add CI testing, run compile and test on push
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..934e04f
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,13 @@
+stages:
+ - test
+
+image: alpine
+
+test:
+ stage: test
+ script:
+ - apk update
+ - apk add make gcc git musl-dev openssl-dev linux-headers zlib-dev lua5.2-dev
+ - make -j$(nproc) check
+ tags:
+ - docker-alpine