mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-28 16:58:57 +08:00
test windows
This commit is contained in:
parent
4ee91d5812
commit
f5d492e532
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build-html5:
|
build-ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -19,3 +19,20 @@ jobs:
|
||||||
cd build
|
cd build
|
||||||
cmake ../
|
cmake ../
|
||||||
cmake --build .
|
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 .
|
Loading…
Reference in New Issue
Block a user