Skip to content

Commit

Permalink
Fix CI: use libc++ on linux with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
erenon committed Feb 6, 2024
1 parent 3e91749 commit 635a9c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,16 @@ jobs:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt install -y clang lld
sudo apt install -y clang lld "libc++"
- name: Configure
run: |
set -x
mkdir Clang
cd Clang
export CC=$(which clang)
export CXX=$(which clang++)
export CXXFLAGS=$(-stdlib=libc++)
export LDFLAGS=$(-stdlib=libc++)
cmake -DCMAKE_CXX_STANDARD=20 ..
- name: Build
run: |
Expand Down

0 comments on commit 635a9c2

Please sign in to comment.