diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a8781ae4c5001897b9b6e39dec63ce10b7ddaa3..14d232656f93815ba1fcc3756a614bdf3762b919 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,5 @@ -# 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: msrd0/cmake-qt5 - 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: - setenv proddb_clientlib_includes /home/tau/jreher/git/proddb_clientlib/ @@ -18,15 +8,18 @@ build: - cd build - cmake3 -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++ .. - make -# artifacts: -# paths: - # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time - # cache: - # paths: - # - "*.o" + artifacts: + paths: + - "build/apdBatchSetter" + - "build/apdBoxSetter" + - "build/apdLocationSetter" + - "build/getIrradiationDose" + - "build/getLocations" + - "build/getU100" + - "build/makeSerialList" + - "build/testXmlStructure" -# run tests using the binary built before -#test: -# stage: test -# script: -# - ./runmytests.sh +test: + stage: test + script: + - build/testXmlStructure