From dba224f511592c7fa2358cefea518f2d26e4bf67 Mon Sep 17 00:00:00 2001 From: staphen Date: Mon, 30 Jan 2023 12:54:05 -0500 Subject: [PATCH] Include files necessary to run MSVC build --- .github/workflows/Windows_MSVC_x64.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Windows_MSVC_x64.yml b/.github/workflows/Windows_MSVC_x64.yml index 8d9dd8b23..104063a2d 100644 --- a/.github/workflows/Windows_MSVC_x64.yml +++ b/.github/workflows/Windows_MSVC_x64.yml @@ -33,8 +33,8 @@ jobs: - name: Fetch test data run: | - mkdir build-ninja-vcpkg-debug - Invoke-WebRequest -Uri "https://github.com/diasurgical/devilutionx-assets/releases/download/v2/spawn.mpq" -OutFile "build-ninja-vcpkg-debug/spawn.mpq" -Resume + mkdir build-ninja-vcpkg-relwithdebinfo + Invoke-WebRequest -Uri "https://github.com/diasurgical/devilutionx-assets/releases/download/v2/spawn.mpq" -OutFile "build-ninja-vcpkg-relwithdebinfo/spawn.mpq" -Resume - name: Get CMakePresets.json run: cp Packaging/windows/CMakePresets.json . @@ -42,13 +42,21 @@ jobs: - name: Run CMake consuming CMakePresets.json and vcpkg.json by mean of vcpkg. uses: lukka/run-cmake@v10 with: - configurePreset: 'ninja-vcpkg-debug' - buildPreset: 'ninja-vcpkg-debug' - testPreset: 'ninja-vcpkg-debug' + configurePreset: 'ninja-vcpkg-relwithdebinfo' + buildPreset: 'ninja-vcpkg-relwithdebinfo' + testPreset: 'ninja-vcpkg-relwithdebinfo' - name: Upload-Package if: ${{ !env.ACT }} uses: actions/upload-artifact@v2 with: name: devilutionx.exe - path: build-ninja-vcpkg-debug/devilutionx.exe + path: | + build-ninja-vcpkg-relwithdebinfo/devilutionx.exe + build-ninja-vcpkg-relwithdebinfo/bz2.dll + build-ninja-vcpkg-relwithdebinfo/fmt.dll + build-ninja-vcpkg-relwithdebinfo/libpng16.dll + build-ninja-vcpkg-relwithdebinfo/libsodium.dll + build-ninja-vcpkg-relwithdebinfo/SDL2.dll + build-ninja-vcpkg-relwithdebinfo/SDL2_image.dll + build-ninja-vcpkg-relwithdebinfo/zlib1.dll