test windows

This commit is contained in:
SushilRagoonath 2022-12-02 14:26:55 +01:00 committed by GitHub
parent 4ee91d5812
commit f5d492e532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ on:
jobs:
build-html5:
build-ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
@ -19,3 +19,20 @@ jobs:
cd build
cmake ../
cmake --build .
build-windows:
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- uses: lukka/get-cmake@latest
- uses: actions/checkout@master
- name: install dependancies
run: |
mkdir build
cd build
echo 'Building SDL2 platform'
cmake ../
cmake --build .
echo 'Building win32 platform'
cmake ../ -DBLAH_PLATFORM_WIN32=ON -DBLAH_PLATFORM_SDL2=OFF
cmake --build .