From: David James Sherman Date: Tue, 30 May 2017 16:36:10 +0000 (+0000) Subject: Add .gitlab-ci.yml X-Git-Tag: seed~7 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6b8c9948761b4051b853c66ca2c639e770aee3c3;p=open-adventure.git Add .gitlab-ci.yml --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..725dfcb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +image: gcc + +# build using Makefile +build: + stage: build + before_script: + - apt update && apt -y install make autoconf + script: + - make advent + artifacts: + paths: + - advent + # cache outputs to reduce the build time + cache: + paths: + - "*.o" + +# run tests using the binary built before +test: + stage: test + script: + - make check