Skip to content

Commit 5043232

Browse files
committed
using clang
1 parent 0c52ef3 commit 5043232

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@ jobs:
1010
runs-on: ubuntu-24.04
1111
steps:
1212
- uses: actions/checkout@v4
13+
- name: setup env
14+
run: |
15+
sudo apt-get update
16+
sudo apt-get install clang-18 lld-18
1317
- name: mkdir
1418
run: mkdir build
1519
- name: cmake
1620
working-directory: build
1721
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
22+
env:
23+
CC: clang
24+
CXX: clang++
1825
- name: make
1926
working-directory: build
2027
run: make

0 commit comments

Comments
 (0)