indivisible-legacy/.gitlab-ci.yml
2016-12-10 17:43:31 +01:00

21 lines
474 B
YAML

image: gcc
build:
stage: build
# Install dependencies
before_script:
- apt update && apt -y install cmake libgmp-dev
# 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"