Mentions légales du service

Skip to content
Snippets Groups Projects

Split the CI into multiple files and add coverity

Merged Mathieu Faverge requested to merge ci/split into master
Files
12
.gitlab/build.yml 0 → 100644
+ 39
0
---
.build_vite_template: &build_vite
stage: build
tags: ["docker"]
interruptible: true
artifacts:
name: vite_build_with_${NAME}
expire_in: 42 minutes
untracked: true
script:
- git submodule update --init --recursive
- mkdir -p build
- cd build
- cmake -DVITE_CI_BRANCH=branch
-C ../.gitlab/ci-test-initial-cache.cmake ..
- cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ${BUILD_OPTIONS}
- make | tee ../vite-build-with-${NAME}.log
- make install | tee -a ../vite-build-with-${NAME}
only:
- merge_requests
- master@solverstack/vite
build_vite_with_opengl:
<<: *build_vite
variables:
BUILD_OPTIONS: "-DUSE_OPENGL=ON -DVITE_ENABLE_VBO=OFF"
NAME: opengl
build_vite_with_vbo:
<<: *build_vite
variables:
BUILD_OPTIONS: "-DUSE_OPENGL=ON -DVITE_ENABLE_VBO=ON"
NAME: vbo
build_vite_with_vulkan:
<<: *build_vite
variables:
BUILD_OPTIONS: "-DUSE_VULKAN=ON"
NAME: vulkan
Loading