Browse Source

Include files necessary to run MSVC build

pull/5741/head
staphen 3 years ago committed by Anders Jenbo
parent
commit
dba224f511
  1. 20
      .github/workflows/Windows_MSVC_x64.yml

20
.github/workflows/Windows_MSVC_x64.yml

@ -33,8 +33,8 @@ jobs:
- name: Fetch test data - name: Fetch test data
run: | run: |
mkdir build-ninja-vcpkg-debug mkdir build-ninja-vcpkg-relwithdebinfo
Invoke-WebRequest -Uri "https://github.com/diasurgical/devilutionx-assets/releases/download/v2/spawn.mpq" -OutFile "build-ninja-vcpkg-debug/spawn.mpq" -Resume 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 - name: Get CMakePresets.json
run: cp Packaging/windows/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. - name: Run CMake consuming CMakePresets.json and vcpkg.json by mean of vcpkg.
uses: lukka/run-cmake@v10 uses: lukka/run-cmake@v10
with: with:
configurePreset: 'ninja-vcpkg-debug' configurePreset: 'ninja-vcpkg-relwithdebinfo'
buildPreset: 'ninja-vcpkg-debug' buildPreset: 'ninja-vcpkg-relwithdebinfo'
testPreset: 'ninja-vcpkg-debug' testPreset: 'ninja-vcpkg-relwithdebinfo'
- name: Upload-Package - name: Upload-Package
if: ${{ !env.ACT }} if: ${{ !env.ACT }}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: devilutionx.exe 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

Loading…
Cancel
Save