From e61935b18e563b6879ffa0b67ca3517a2392a464 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Mon, 11 Dec 2023 23:47:38 +0100 Subject: [PATCH] [Github CI] workaround for broken clang on ubuntu runner until https://github.com/actions/runner-images/issues/8659 get fixed Signed-off-by: Christian Parpart --- .github/workflows/build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 941c77f..cf4eb51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: - uses: editorconfig-checker/action-editorconfig-checker@main - run: editorconfig-checker - ubuntu_2204: + ubuntu: strategy: fail-fast: false matrix: @@ -41,7 +41,7 @@ jobs: "clang++-14" ] name: "Ubuntu 22.04 (${{ matrix.compiler }}, C++${{ matrix.cxx }}, ${{matrix.build_type}})" - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 # ubuntu-22.04 is a broken image outputs: id: "${{ matrix.compiler }} (C++${{ matrix.cxx }}, ${{ matrix.build_type }})" steps: @@ -54,11 +54,12 @@ jobs: - name: "update APT database" run: sudo apt -q update - - name: Install Compilers - run: sudo apt install -y g++-11 clang-14 - - name: "Download dependencies" run: sudo apt install cmake ninja-build catch2 + # workaround for broken clang on ubuntu runner until https://github.com/actions/runner-images/issues/8659 get fixed + #- uses: mjp41/workaround8649@7929373c0fe5caf844d8115adccef39e3b5362e7 + - name: Install Compilers + run: sudo apt install -y g++-11 clang-14 - name: "Cmake configure" run: cmake -S . -B build -G Ninja -D BOXED_CPP_TESTS=ON -D ENABLE_TIDY=ON -DPEDANTIC_COMPILER=ON -D CMAKE_CXX_FLAGS="-Wno-unknown-warning-option" -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_CXX_STANDARD=${{ matrix.cxx }} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} - name: "build "