Skip to content

Commit 3fd40b9

Browse files
committed
Attempt to fix CI issue
1 parent f2b6651 commit 3fd40b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/cmake.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
# well on Windows or Mac. You can convert this to a matrix build if you need
1313
# cross-platform coverage.
1414
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
15-
# runs-on: ubuntu-22.04 Uncommented due to https://github.com/actions/runner-images/issues/8659#issuecomment-1823087636
16-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1716

1817
steps:
1918

@@ -37,7 +36,8 @@ jobs:
3736
# Note the current convention is to use the -S and -B options here to specify source
3837
# and build directories, but this is only available with CMake 3.13 and higher.
3938
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
40-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DENABLE_OPENMP=on -DENABLE_PYTHON=off -DENABLE_TBB=off
39+
# Force libc++ due to https://github.com/actions/runner-images/issues/8659
40+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DENABLE_OPENMP=on -DENABLE_PYTHON=off -DENABLE_TBB=off -DCMAKE_CXX_FLAGS="-stdlib=libc++"
4141

4242
- name: Build
4343
working-directory: ${{github.workspace}}/build

0 commit comments

Comments
 (0)