indivisible-legacy/.gitlab-ci.yml

21 lines
483 B
YAML
Raw Permalink Normal View History

2016-11-30 13:32:06 +00:00
image: gcc
build:
stage: build
# Install dependencies
2016-11-30 13:32:06 +00:00
before_script:
2016-12-26 15:35:52 +00:00
- apt update && apt -y install cmake libgmp-dev libgomp1
# Build the project
2016-11-30 13:32:06 +00:00
script:
- cd build/
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make
# Find the resulting binary
2016-11-30 13:32:06 +00:00
artifacts:
paths:
- build/indivisible
# Cache .o files for faster compiling
cache:
paths:
2016-12-10 16:43:31 +00:00
- "build/CMakeFiles/indivisible.dir/src/*.o"