From b8061ca1e7aa2c0a21a035b8068d29c6891d838b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20W=C3=B6lzer?= <martin@libclapp.org> Date: Mon, 16 Sep 2024 22:17:28 +0200 Subject: [PATCH] .gitlab-ci/install.yml: introduced file --- .gitlab-ci.yml | 2 ++ .gitlab-ci/install.yml | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .gitlab-ci/install.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f23487e..59c9520f 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 00000000..87bf17c4 --- /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 -- GitLab