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
|
||||
run: |
|
||||
mkdir build
|
||||
cmake -S . -B ./build
|
||||
cmake -S . -B ./build -DSDL_UNIX_CONSOLE_BUILD=ON
|
||||
|
||||
- name: Linux Build
|
||||
if: matrix.platform == 'linux'
|
||||
run: make -C build
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
if: matrix.platform == 'win'
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Windows Build
|
||||
if: matrix.platform == 'win'
|
||||
run: |
|
||||
cd build
|
||||
msbuild snivy.vcxproj
|
||||
msbuild.exe snivy.vcxproj
|
||||
|
||||
|
||||
Reference in New Issue
Block a user