Skip to content
Snippets Groups Projects
Commit a85148e6 authored by Jan Reher's avatar Jan Reher
Browse files

Update .gitlab-ci.yml

parent 969ee360
No related branches found
No related tags found
No related merge requests found
Pipeline #1097 failed
......@@ -6,25 +6,27 @@ 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:
- mkdir 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:
cache:
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment