indivisible-legacy/.gitlab-ci.yml
2016-12-26 16:35:52 +01:00

21 lines
483 B
YAML

image: gcc
build:
stage: build
# Install dependencies
before_script:
- apt update && apt -y install cmake libgmp-dev libgomp1
# Build the project
script:
- cd build/
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make
# Find the resulting binary
artifacts:
paths:
- build/indivisible
# Cache .o files for faster compiling
cache:
paths:
- "build/CMakeFiles/indivisible.dir/src/*.o"