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

View File

@ -13,7 +13,7 @@ jobs:
steps: steps:
- uses: lukka/get-cmake@latest - uses: lukka/get-cmake@latest
- uses: actions/checkout@master - uses: actions/checkout@master
- name: install dependancies - name: build
run: | run: |
mkdir build mkdir build
cd build cd build
@ -26,12 +26,12 @@ jobs:
steps: steps:
- uses: lukka/get-cmake@latest - uses: lukka/get-cmake@latest
- uses: actions/checkout@master - uses: actions/checkout@master
- name: install dependancies - name: build
run: | run: |
mkdir build mkdir build
cd build cd build
echo 'Building SDL2 platform' echo 'Building SDL2 platform'
cmake ../ cmake ../ -DBLAH_PLATFORM_WIN32=OFF -DBLAH_PLATFORM_SDL2=ON
cmake --build . cmake --build .
echo 'Building win32 platform' echo 'Building win32 platform'
cmake ../ -DBLAH_PLATFORM_WIN32=ON -DBLAH_PLATFORM_SDL2=OFF cmake ../ -DBLAH_PLATFORM_WIN32=ON -DBLAH_PLATFORM_SDL2=OFF