Skip to content

Commit

Permalink
[Github CI] workaround for broken clang on ubuntu runner until action…
Browse files Browse the repository at this point in the history
…s/runner-images#8659 get fixed

Signed-off-by: Christian Parpart <[email protected]>
  • Loading branch information
christianparpart committed Dec 12, 2023
1 parent 1eb3ea6 commit e61935b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker

ubuntu_2204:
ubuntu:
strategy:
fail-fast: false
matrix:
Expand All @@ -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:
Expand All @@ -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 "
Expand Down

0 comments on commit e61935b

Please sign in to comment.