diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index c0525f4ae24e00d560759d05d569845bd6b613b8..c4e66cfa244dd72ff6e264dc51b677ca2d86a354 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -17,26 +17,65 @@ build:ubuntu_cpp: - build_cpp/ - install_cpp/ -build:ubuntu_cpp_clang: +build:ubuntu_cpp_gcc10: stage: build needs: [] tags: - docker script: - - apt install -y clang + - apt install -y gcc-10 - mkdir -p build_cpp - mkdir -p install_cpp - cd build_cpp - - export CXX=/usr/bin/clang++ + - export CXX=/usr/bin/g++-10 - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug -DWERROR=ON -DCOVERAGE=ON .. - make -j4 all install - artifacts: - expire_in: 1 week - paths: - - build_cpp/ - - install_cpp/ +build:ubuntu_cpp_gcc12: + stage: build + needs: [] + tags: + - docker + + script: + - apt install -y gcc-12 + - mkdir -p build_cpp + - mkdir -p install_cpp + - cd build_cpp + - export CXX=/usr/bin/g++-12 + - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug -DWERROR=ON -DCOVERAGE=ON .. + - make -j4 all install + +build:ubuntu_cpp_clang12: + stage: build + needs: [] + tags: + - docker + + script: + - apt install -y clang-12 + - mkdir -p build_cpp + - mkdir -p install_cpp + - cd build_cpp + - export CXX=/usr/bin/clang++-12 + - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug -DWERROR=ON -DCOVERAGE=ON .. + - make -j4 all install + +build:ubuntu_cpp_clang15: + stage: build + needs: [] + tags: + - docker + + script: + - apt install -y clang-15 + - mkdir -p build_cpp + - mkdir -p install_cpp + - cd build_cpp + - export CXX=/usr/bin/clang++-15 + - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug -DWERROR=ON -DCOVERAGE=ON .. + - make -j4 all install build:ubuntu_python: stage: build