From 4dfbb4cae8fb888a847d90e015b06e55b015e312 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Mon, 10 Apr 2023 17:01:31 +0200 Subject: [PATCH] GHA: Replace GCC 12 by GCC 11 temporarily There is a Boost bug (https://github.com/boostorg/thread/issues/364) in 1.69 causing a build failure with GCC 12 related to `PTHREAD_STACK_MIN`. This is fixed in Boost 1.73 but that triggers a warning in GCC12: https://github.com/boostorg/test/issues/357 Hence use GCC 11 and Boost 1.73 --- .github/workflows/unit-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 2c4f826ef..58ea1cd8f 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -35,7 +35,7 @@ jobs: - { compiler: clang-11, os: ubuntu-20.04, buildType: Debug, cxxStandard: 17 } - { compiler: clang-11, os: ubuntu-20.04, buildType: Release, cxxStandard: 14 } # Linux Latest GCC - - { compiler: gcc-12, os: ubuntu-22.04, buildType: Debug, cxxStandard: 14, coverage: true } + - { compiler: gcc-11, os: ubuntu-22.04, buildType: Debug, cxxStandard: 14, coverage: true } # Linux Latest clang - { compiler: clang-16, os: ubuntu-20.04, buildType: Debug, cxxStandard: 14, externalSanitizer: true }