diff options
| author | A P <alex@cogarr.net> | 2018-06-22 23:03:27 +0000 |
|---|---|---|
| committer | A P <alex@cogarr.net> | 2018-06-22 23:03:27 +0000 |
| commit | e7dd98b985278c6d3cc8d246426d80b361d67a39 (patch) | |
| tree | aae3ca456289fef3a79ced39c405034560e2c2a4 | |
| parent | 6cf098e3450ba99c238cf0499c6cecaa246f4d50 (diff) | |
| download | brokengine-e7dd98b985278c6d3cc8d246426d80b361d67a39.tar.gz brokengine-e7dd98b985278c6d3cc8d246426d80b361d67a39.tar.bz2 brokengine-e7dd98b985278c6d3cc8d246426d80b361d67a39.zip | |
Add .gitlab-ci.yml
| -rw-r--r-- | .gitlab-ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d7a7917 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +# This file is a template, and might need editing before it works on your project. +# use the official gcc image, based on debian +# can use verions as well, like gcc:5.2 +# see https://hub.docker.com/_/gcc/ +image: gcc + +build: + stage: build + # instead of calling g++ directly you can also use some build toolkit like make + # install the necessary build tools when needed + # before_script: + # - apt update && apt -y install make autoconf + script: + - make + artifacts: + paths: + - mybinary + # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time + cache: + paths: + - "build/*/*.o" + +# run tests using the binary built before +test: + stage: test + script: + - busted |
