mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 00:20:55 +02:00
CI: Always use Command Prompt when running commands.
This commit is contained in:
@@ -8,6 +8,9 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [Win32, x64]
|
platform: [Win32, x64]
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: cmd
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -24,10 +27,8 @@ jobs:
|
|||||||
move /y C:\Strawberry C:\Strawberry_not_in_PATH
|
move /y C:\Strawberry C:\Strawberry_not_in_PATH
|
||||||
exit /b 0
|
exit /b 0
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: cmd
|
|
||||||
env:
|
env:
|
||||||
PLATFORM: ${{ matrix.platform }}
|
PLATFORM: ${{ matrix.platform }}
|
||||||
run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
|
run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
|
||||||
- name: Install
|
- name: Install
|
||||||
shell: cmd
|
|
||||||
run: cmake --build build --config Release --target install -j2
|
run: cmake --build build --config Release --target install -j2
|
||||||
|
|||||||
Reference in New Issue
Block a user