Skip to content

Commit

Permalink
build: another fix for windows action
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriankhl committed May 28, 2024
1 parent 64733a0 commit 11b9bc9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,8 @@ jobs:
run: |
mkdir build
cd build
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat"
cmake .. -GNinja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DLLAMA_NATIVE=OFF -DLLAMA_VULKAN=OFF -DCMAKE_BUILD_TYPE=Release
ninja -j $(nproc)
${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" && cmake .. -GNinja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DLLAMA_NATIVE=OFF -DLLAMA_VULKAN=OFF -DCMAKE_BUILD_TYPE=Release' }}
ninja -j ${env:NUMBER_OF_PROCESSORS}
- name: Archive library
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 11b9bc9

Please sign in to comment.