Commit 229f98b7 authored by Florian Oetke's avatar Florian Oetke
Browse files

update .gitlab-ci.yml

parent 299da942
Pipeline #2267 passed with stage
in 20 minutes and 21 seconds
......@@ -16,17 +16,14 @@ build_gcc:
- cd build
- mkdir -p bin
- rm -rf src
- cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=../bin -DCMAKE_BUILD_TYPE=Release -DMIRRAGE_EXPORT_EXECUTABLE=ON ..
- cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=../bin -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . --target all
- cmake --build . --target src/install
- cmake --build . --target test
artifacts:
paths:
- build/bin
expire_in: 1 day
cache:
key: "gcc_${CI_COMMIT_REF_SLUG}"
paths:
- build
build_clang:
stage: build
......@@ -37,20 +34,14 @@ build_clang:
- cd build
- mkdir -p bin
- rm -rf src
- cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=../bin -DCMAKE_BUILD_TYPE=Release -DMIRRAGE_EXPORT_EXECUTABLE=ON ..
- cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=../bin -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . --target all
- cmake --build . --target src/install
- cmake --build . --target test
- wget https://github.com/lowkey42/mirrage/releases/download/v0.2/model_data_lbs.tar.xz || true
- cd bin/bin
- tar xf ../../model_data_lbs.tar.xz
artifacts:
paths:
- build/bin
expire_in: 1 week
cache:
key: "clang_${CI_COMMIT_REF_SLUG}"
paths:
- build
build_scanbuild:
stage: build
......@@ -64,7 +55,7 @@ build_scanbuild:
artifacts:
paths:
- build/result
expire_in: 1 week
expire_in: 2 day
when: always
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment