attempting to fix Windows build once again

This commit is contained in:
CocoSimone
2022-10-29 12:12:03 +02:00
parent 3b86d92f2e
commit c40668e604
6 changed files with 29 additions and 26 deletions

View File

@@ -41,15 +41,18 @@ jobs:
submodules: recursive
- name: Setup dependencies
run: |
vcpkg install sdl2[vulkan]:x64-windows-static
vcpkg install sdl2[vulkan]:x64-windows
vcpkg install fmt:x64-windows
vcpkg install nlohmann-json:x64-windows
vcpkg install vulkan:x64-windows
- name: Build natsukashii
run: |
cmake -B build -T clangcl -DCAPSTONE_ARCHITECTURE_DEFAULT=OFF -DCAPSTONE_BUILD_TESTS=OFF -DCAPSTONE_MIPS_SUPPORT=ON -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -S src
cmake -B build -T clangcl -DCAPSTONE_ARCHITECTURE_DEFAULT=OFF -DCAPSTONE_BUILD_TESTS=OFF -DCAPSTONE_MIPS_SUPPORT=ON -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -S src
cmake --build . --config Release
- name: Collect artifacts
run: |
mkdir upload
cp -r build/{natsukashii.exe,resources,SDL2.dll} upload
cp -r build/{natsukashii.exe,resources,SDL2.dll,fmt.dll} upload
- name: Upload artifacts
uses: actions/upload-artifact@v2
with: