mirror of https://github.com/encounter/SDL.git
31 lines
768 B
YAML
31 lines
768 B
YAML
|
name: Build (OpenWatcom)
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
os2:
|
||
|
name: ${{ matrix.platform.name }}
|
||
|
runs-on: windows-latest
|
||
|
|
||
|
strategy:
|
||
|
matrix:
|
||
|
platform:
|
||
|
- { name: Windows, makefile: Makefile.w32 }
|
||
|
- { name: OS/2, makefile: Makefile.os2 }
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: open-watcom/setup-watcom@v0
|
||
|
- name: Build SDL2
|
||
|
run: |
|
||
|
wmake -f ${{ matrix.platform.makefile }}
|
||
|
- name: Build tests
|
||
|
run: |
|
||
|
cd test && wmake -f ${{ matrix.platform.makefile }}
|
||
|
cd ..
|
||
|
- name: distclean
|
||
|
run: |
|
||
|
wmake -f ${{ matrix.platform.makefile }} distclean
|
||
|
cd test && wmake -f ${{ matrix.platform.makefile }} distclean
|
||
|
cd ..
|