Skip to content

Commit

Permalink
Use clang in the Windows workflow (#70)
Browse files Browse the repository at this point in the history
Bench: 11049748
  • Loading branch information
Dannyj1 committed Dec 24, 2023
1 parent 4b0aea4 commit 8b619ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- os: windows-latest
build-name: Windows
artifact-extension: .zip
config-command: cmake -DCMAKE_C_COMPILER=/mingw64/bin/gcc -DCMAKE_CXX_COMPILER=/mingw64/bin/g++ -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_BUILD_TYPE=Release -DENABLE_OPTIMIZATION_FAST_MATH=ON -DAPPEND_VERSION=ON -DAPPEND_VERSION_USE_GIT=OFF .
config-command: cmake -DCMAKE_C_COMPILER=/clang64/bin/clang -DCMAKE_CXX_COMPILER=/clang64/bin/clang++ -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_BUILD_TYPE=Release -DENABLE_OPTIMIZATION_FAST_MATH=ON -DAPPEND_VERSION=ON -DAPPEND_VERSION_USE_GIT=OFF -G Ninja .
archive-command: zip -r
shell: msys2 {0}

Expand All @@ -47,8 +47,8 @@ jobs:
if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
install: mingw-w64-x86_64-gcc cmake make zip
msystem: clang64
install: mingw-w64-clang-x86_64-toolchain ninja cmake zip

- name: Create build directory
run: mkdir build
Expand Down

0 comments on commit 8b619ba

Please sign in to comment.