diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f23487e54cd5d355f1d67251551f0faa50bae87..59c9520f97cfe02495cc439bfd824f8cd7fa3ba4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ stages: - check - build - test + - install variables: GIT_STRATEGY: clone @@ -12,3 +13,4 @@ include: - local: /.gitlab-ci/check.yml - local: /.gitlab-ci/build.yml - local: /.gitlab-ci/test.yml + - local: /.gitlab-ci/install.yml diff --git a/.gitlab-ci/install.yml b/.gitlab-ci/install.yml new file mode 100644 index 0000000000000000000000000000000000000000..87bf17c4f24c4737a8daba347d65f8b718162a5e --- /dev/null +++ b/.gitlab-ci/install.yml @@ -0,0 +1,39 @@ +.install_matrix_template_amd64_ubuntu_24.04: + dependencies: [] + parallel: + matrix: + - BUILD_TYPE: + - "Debug" + - "Release" + GENERATOR: + - "Ninja" + COMPILER: + - "clang" + COMPILER_VERSION: + - 17 + - BUILD_TYPE: + - "Debug" + - "Release" + GENERATOR: + - "Ninja" + COMPILER: + - "gcc" + COMPILER_VERSION: + - 14 + tags: + - compiler + - ubuntu-24.04-amd64 + +.install_template: + stage: install + variables: + GIT_SUBMODULE_STRATEGY: recursive + script: + - .ci/build/build.sh --compiler "${COMPILER}" --compiler-version "${COMPILER_VERSION}" --build-type "${BUILD_TYPE}" --generator "${GENERATOR}" --verbose --install + - export LD_LIBRARY_PATH="/usr/local/lib" + - /usr/local/bin/libclapp_tests + +install_matrix_amd64_ubuntu_24.04: + extends: + - .install_template + - .install_matrix_template_amd64_ubuntu_24.04