From b627b41033ec4a137252005d60fecf6d68c001ac Mon Sep 17 00:00:00 2001 From: Nikolaus Demmel Date: Mon, 22 Nov 2021 17:29:25 +0100 Subject: [PATCH] ci: disable GCC11 build, since it fails due to a GCC bug --- .gitlab-ci.yml | 59 ++++++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee0a037..b6c611f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -222,34 +222,37 @@ focal-gcc10-relwithdebinfo-compile: - ./basalt_vio --help - ./basalt_vio_sim --help -focal-gcc11-relwithdebinfo-compile: - <<: *prepare_docker_definition - image: vladyslavusenko/b_image_focal:latest - variables: - BUILD_TYPE: CiRelWithDebInfo - CC: gcc-11 - CXX: g++-11 - only: -# - master - stage: build - script: - - add-apt-repository ppa:ubuntu-toolchain-r/test -y - - apt-get update - - apt-get install -y g++-11 - - mkdir build - - cd build - - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCXX_MARCH=${CXX_MARCH} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} - - make -j3 - - ctest - # smoke test to see if all executables at least start up - - ./basalt_calibrate --help - - ./basalt_calibrate_imu --help - - ./basalt_mapper --help - - ./basalt_mapper_sim --help - - ./basalt_mapper_sim_naive --help - - ./basalt_opt_flow --help - - ./basalt_vio --help - - ./basalt_vio_sim --help +# Compilation with GCC 11 is broken due to a bug that is fixed only in future relases 11.3 and 12 +# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100438 +# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744#c15 +# focal-gcc11-relwithdebinfo-compile: +# <<: *prepare_docker_definition +# image: vladyslavusenko/b_image_focal:latest +# variables: +# BUILD_TYPE: CiRelWithDebInfo +# CC: gcc-11 +# CXX: g++-11 +# only: +# # - master +# stage: build +# script: +# - add-apt-repository ppa:ubuntu-toolchain-r/test -y +# - apt-get update +# - apt-get install -y g++-11 +# - mkdir build +# - cd build +# - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCXX_MARCH=${CXX_MARCH} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} +# - make -j3 +# - ctest +# # smoke test to see if all executables at least start up +# - ./basalt_calibrate --help +# - ./basalt_calibrate_imu --help +# - ./basalt_mapper --help +# - ./basalt_mapper_sim --help +# - ./basalt_mapper_sim_naive --help +# - ./basalt_opt_flow --help +# - ./basalt_vio --help +# - ./basalt_vio_sim --help catalina-relwithdebinfo-compile: <<: *compile_test_definition