Skip to content

Commit

Permalink
Add full path to clang
Browse files Browse the repository at this point in the history
  • Loading branch information
vt4a2h committed Nov 4, 2024
1 parent 0e0a010 commit 48868e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ jobs:
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh 18
- name: Check clang
run: |
which clang
which clang-18
which clang++-18
ls /usr/bin/ | grep clang
- name: Configure
run: |
cmake -S . -B cmake-build --preset ${{ matrix.preset }} \
Expand Down
4 changes: 2 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"name": "clang-18",
"generator": "Ninja",
"environment": {
"CC": "clang-18",
"CXX": "clang++-18",
"CC": "/usr/bin/clang-18",
"CXX": "/usr/bin/clang++-18",
"CXXFLAGS": "-stdlib=libc++"
},
"condition": {
Expand Down

0 comments on commit 48868e7

Please sign in to comment.