ci: disable GCC11 build, since it fails due to a GCC bug

This commit is contained in:
Nikolaus Demmel 2021-11-22 17:29:25 +01:00
parent e37d3f02e7
commit b627b41033
1 changed files with 31 additions and 28 deletions

View File

@ -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