Skip to content

Commit

Permalink
fix: clang is not used when building with CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Jan 31, 2024
1 parent 8bf0cfe commit 371a02e
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pip'

- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
Expand Down Expand Up @@ -53,14 +45,6 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pip'

- name: Set up Clang 15
env:
Expand All @@ -82,6 +66,8 @@ jobs:

- name: Build with CMake
run: |
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..
Expand Down

0 comments on commit 371a02e

Please sign in to comment.