blah/.github/workflows/ci.yml
SushilRagoonath f5d492e532
test windows
2022-12-02 14:26:55 +01:00

38 lines
869 B
YAML

name: CI
on:
push:
pull_request:
jobs:
build-ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: lukka/get-cmake@latest
- uses: actions/checkout@master
- name: install dependancies
run: |
mkdir build
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 .