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: build 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: build run: | mkdir build cd build echo 'Building SDL2 platform' cmake ../ -DBLAH_PLATFORM_WIN32=OFF -DBLAH_PLATFORM_SDL2=ON cmake --build . echo 'Building win32 platform' cmake ../ -DBLAH_PLATFORM_WIN32=ON -DBLAH_PLATFORM_SDL2=OFF cmake --build .