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 --help
- ./basalt_vio_sim --help - ./basalt_vio_sim --help
focal-gcc11-relwithdebinfo-compile: # Compilation with GCC 11 is broken due to a bug that is fixed only in future relases 11.3 and 12
<<: *prepare_docker_definition # See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100438
image: vladyslavusenko/b_image_focal:latest # See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744#c15
variables: # focal-gcc11-relwithdebinfo-compile:
BUILD_TYPE: CiRelWithDebInfo # <<: *prepare_docker_definition
CC: gcc-11 # image: vladyslavusenko/b_image_focal:latest
CXX: g++-11 # variables:
only: # BUILD_TYPE: CiRelWithDebInfo
# - master # CC: gcc-11
stage: build # CXX: g++-11
script: # only:
- add-apt-repository ppa:ubuntu-toolchain-r/test -y # # - master
- apt-get update # stage: build
- apt-get install -y g++-11 # script:
- mkdir build # - add-apt-repository ppa:ubuntu-toolchain-r/test -y
- cd build # - apt-get update
- cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCXX_MARCH=${CXX_MARCH} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} # - apt-get install -y g++-11
- make -j3 # - mkdir build
- ctest # - cd build
# smoke test to see if all executables at least start up # - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCXX_MARCH=${CXX_MARCH} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
- ./basalt_calibrate --help # - make -j3
- ./basalt_calibrate_imu --help # - ctest
- ./basalt_mapper --help # # smoke test to see if all executables at least start up
- ./basalt_mapper_sim --help # - ./basalt_calibrate --help
- ./basalt_mapper_sim_naive --help # - ./basalt_calibrate_imu --help
- ./basalt_opt_flow --help # - ./basalt_mapper --help
- ./basalt_vio --help # - ./basalt_mapper_sim --help
- ./basalt_vio_sim --help # - ./basalt_mapper_sim_naive --help
# - ./basalt_opt_flow --help
# - ./basalt_vio --help
# - ./basalt_vio_sim --help
catalina-relwithdebinfo-compile: catalina-relwithdebinfo-compile:
<<: *compile_test_definition <<: *compile_test_definition