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"