diff options
author | 3gg <3gg@shellblade.net> | 2024-05-04 16:51:29 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-05-04 16:51:29 -0700 |
commit | 8222bfe56d4dabe8d92fc4b25ea1b0163b16f3e1 (patch) | |
tree | 763389e42276035ac134d94eb1dc32293b88d807 /src/contrib/SDL-2.30.2/.github/workflows/watcom.yml |
Initial commit.
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 .. | ||