diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6147fa6..b1a9a8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,10 +4,8 @@ # see https://hub.docker.com/_/gcc/ image: gcc -#trigger_build: -# stage: deploy -# script: -# - "curl -X POST -F token=KxfjoqGbMTBooVwKLDDX-F ref=master https://git.goatpr0n.de/api/v4/projects/46/trigger/pipeline" +stages: + - build build: stage: build @@ -23,12 +21,8 @@ build: paths: - lw12ctl # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time - # cache: - # paths: - # - "*.o" - -# run tests using the binary built before -#test: -# stage: test -# script: -# - ./runmytests.sh + cache: + paths: + - "*.o" + only: + - tags