mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Minor cleanup to GitHub Actions Windows build.
This commit is contained in:
@@ -37,20 +37,20 @@ jobs:
|
|||||||
path: love-${{ github.sha }}.AppImage
|
path: love-${{ github.sha }}.AppImage
|
||||||
windows-os:
|
windows-os:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
shell: cmd
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [Win32, x64]
|
platform: [Win32, x64]
|
||||||
install: [compat, modern]
|
install: [compat, modern]
|
||||||
include:
|
include:
|
||||||
- platform: Win32
|
- platform: Win32
|
||||||
arch: x86
|
arch: x86
|
||||||
- platform: x64
|
- platform: x64
|
||||||
arch: x64
|
arch: x64
|
||||||
upload_jitmodules: true
|
upload_jitmodules: true
|
||||||
- install: compat
|
- install: compat
|
||||||
compatdef: -DLOVE_INSTALL_UCRT=ON
|
compatdef: -DLOVE_INSTALL_UCRT=ON
|
||||||
compatname: -compat
|
compatname: -compat
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Megasource
|
- name: Clone Megasource
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -69,12 +69,10 @@ jobs:
|
|||||||
vulkan-components: Vulkan-Headers, Vulkan-Loader
|
vulkan-components: Vulkan-Headers, Vulkan-Loader
|
||||||
vulkan-use-cache: true
|
vulkan-use-cache: true
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: cmd
|
|
||||||
env:
|
env:
|
||||||
PLATFORM: ${{ matrix.platform }}
|
PLATFORM: ${{ matrix.platform }}
|
||||||
run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% ${{ matrix.compatdef }} -DCMAKE_INSTALL_PREFIX=%CD%\install
|
run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% ${{ matrix.compatdef }} -DCMAKE_INSTALL_PREFIX=%CD%\install
|
||||||
- name: Install
|
- name: Install
|
||||||
shell: cmd
|
|
||||||
run: cmake --build build --target PACKAGE --config Release -j2
|
run: cmake --build build --target PACKAGE --config Release -j2
|
||||||
- name: Artifact
|
- name: Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user