indivisible-legacy/.gitlab-ci.yml

21 lines
474 B
YAML
Raw 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:
- apt update && apt -y install cmake libgmp-dev
# 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"