forgot the flag I meant to add + fixes msbuild
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -28,15 +28,19 @@ jobs:
|
|||||||
- name: CMake Configure
|
- name: CMake Configure
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cmake -S . -B ./build
|
cmake -S . -B ./build -DSDL_UNIX_CONSOLE_BUILD=ON
|
||||||
|
|
||||||
- name: Linux Build
|
- name: Linux Build
|
||||||
if: matrix.platform == 'linux'
|
if: matrix.platform == 'linux'
|
||||||
run: make -C build
|
run: make -C build
|
||||||
|
|
||||||
|
- name: Add msbuild to PATH
|
||||||
|
if: matrix.platform == 'win'
|
||||||
|
uses: microsoft/setup-msbuild@v2
|
||||||
|
|
||||||
- name: Windows Build
|
- name: Windows Build
|
||||||
if: matrix.platform == 'win'
|
if: matrix.platform == 'win'
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
msbuild snivy.vcxproj
|
msbuild.exe snivy.vcxproj
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user