Skip to content

Commit d3b19d4

Browse files
authored
Merge pull request #7 from MisledWater79/patch-1
Fix release workflow for windows build
2 parents 8904224 + 20178dc commit d3b19d4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ jobs:
128128
uses: lukka/get-cmake@latest
129129

130130
- name: Build with CMake
131+
env:
132+
CC: clang-cl
133+
CXX: clang-cl
131134
run: |
132135
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
133136
cmake --build build
@@ -160,8 +163,8 @@ jobs:
160163
sudo chmod +x llvm.sh
161164
sudo ./llvm.sh ${LLVM_VERSION}
162165
sudo apt-get install -y -q libc++-${LLVM_VERSION}-dev libc++abi-${LLVM_VERSION}-dev
163-
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-${LLVM_VERSION} 100
164-
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-${LLVM_VERSION} 100
166+
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-${LLVM_VERSION} 200
167+
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-${LLVM_VERSION} 200
165168
166169
- name: Set up CMake and Ninja
167170
uses: lukka/get-cmake@latest

0 commit comments

Comments
 (0)