diff options
Diffstat (limited to 'src/contrib/SDL-2.30.2/.github/workflows/watcom.yml')
| -rw-r--r-- | src/contrib/SDL-2.30.2/.github/workflows/watcom.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/contrib/SDL-2.30.2/.github/workflows/watcom.yml b/src/contrib/SDL-2.30.2/.github/workflows/watcom.yml new file mode 100644 index 0000000..a79cc96 --- /dev/null +++ b/src/contrib/SDL-2.30.2/.github/workflows/watcom.yml | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | name: Build (OpenWatcom) | ||
| 2 | |||
| 3 | on: [push, pull_request] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | os2: | ||
| 7 | name: ${{ matrix.platform.name }} | ||
| 8 | runs-on: windows-latest | ||
| 9 | |||
| 10 | strategy: | ||
| 11 | matrix: | ||
| 12 | platform: | ||
| 13 | - { name: Windows, makefile: Makefile.w32 } | ||
| 14 | - { name: OS/2, makefile: Makefile.os2 } | ||
| 15 | |||
| 16 | steps: | ||
| 17 | - uses: actions/checkout@v4 | ||
| 18 | - uses: open-watcom/setup-watcom@v0 | ||
| 19 | - name: Build SDL2 | ||
| 20 | run: | | ||
| 21 | wmake -f ${{ matrix.platform.makefile }} ENABLE_WERROR=1 | ||
| 22 | - name: Build tests | ||
| 23 | run: | | ||
| 24 | cd test && wmake -f ${{ matrix.platform.makefile }} ENABLE_WERROR=1 | ||
| 25 | cd .. | ||
| 26 | - name: Run tests | ||
| 27 | if: "matrix.platform.makefile == 'Makefile.w32'" | ||
| 28 | run: | | ||
| 29 | cd test && wmake -f ${{ matrix.platform.makefile }} check-quick | ||
| 30 | cd .. | ||
| 31 | - name: distclean | ||
| 32 | run: | | ||
| 33 | wmake -f ${{ matrix.platform.makefile }} distclean | ||
| 34 | cd test && wmake -f ${{ matrix.platform.makefile }} distclean | ||
| 35 | cd .. | ||
