From 8222bfe56d4dabe8d92fc4b25ea1b0163b16f3e1 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 4 May 2024 16:51:29 -0700 Subject: Initial commit. --- .../SDL-2.30.2/.github/workflows/watcom.yml | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/contrib/SDL-2.30.2/.github/workflows/watcom.yml (limited to 'src/contrib/SDL-2.30.2/.github/workflows/watcom.yml') 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 @@ +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@v4 + - uses: open-watcom/setup-watcom@v0 + - name: Build SDL2 + run: | + wmake -f ${{ matrix.platform.makefile }} ENABLE_WERROR=1 + - name: Build tests + run: | + cd test && wmake -f ${{ matrix.platform.makefile }} ENABLE_WERROR=1 + cd .. + - name: Run tests + if: "matrix.platform.makefile == 'Makefile.w32'" + run: | + cd test && wmake -f ${{ matrix.platform.makefile }} check-quick + cd .. + - name: distclean + run: | + wmake -f ${{ matrix.platform.makefile }} distclean + cd test && wmake -f ${{ matrix.platform.makefile }} distclean + cd .. -- cgit v1.2.3