Skip to content

Commit

Permalink
chore: Attempt to fix clang latest build in CI by adding stdlib-isystem
Browse files Browse the repository at this point in the history
  • Loading branch information
Tradias committed Nov 25, 2024
1 parent e0408ce commit bd44e56
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ jobs:
CMAKE_EXTRA_ARGS: '-DVCPKG_TARGET_TRIPLET=x64-linux-clang-latest-release -DCMAKE_DISABLE_PRECOMPILE_HEADERS=on -DASIO_GRPC_ENABLE_IO_URING_EXAMPLES=off -DASIO_GRPC_ENABLE_CMAKE_INSTALL_TEST=off "-DCMAKE_CXX_FLAGS=-stdlib=libc++ -Wno-unused-command-line-argument" -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld'

steps:
- name: Install dot for doxygen
run: sudo apt-get install graphviz
- name: Install dot for doxygen and libc++ 18
run: sudo apt-get install graphviz libc++-18-dev

- uses: actions/checkout@v4

Expand All @@ -225,12 +225,6 @@ jobs:
vcpkgGitCommitId: '${{ env.VCPKG_VERSION }}'
vcpkgJsonGlob: 'vcpkg.json'

- name: Clang version
run: clang++ --version && which clang++

- name: Clang Configure CMake for examples
run: cmake --preset default -B ${{ github.workspace }}/build -DCMAKE_CXX_COMPILER=$(which clang++) -DVCPKG_INSTALLED_DIR=${{ runner.workspace }}/vcpkg_installed ${{ env.CMAKE_EXTRA_ARGS }} ${{ env.CMAKE_ARGS }} -DASIO_GRPC_BUILD_TESTS=off -DASIO_GRPC_BUILD_EXAMPLES=on

- name: Run vcpkg
run: ${{ env.VCPKG_ROOT }}/vcpkg install --recurse --clean-after-build --triplet ${{ env.TRIPLET }} --host-triplet ${{ env.TRIPLET }} --x-install-root=${{ runner.workspace }}/vcpkg_installed --overlay-ports=${{ github.workspace }}/deps --overlay-triplets=${{ github.workspace }}/.github/vcpkg

Expand Down

0 comments on commit bd44e56

Please sign in to comment.