forked from libsdl-org/sdl12-compat
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.05 KB
/
watcom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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: open-watcom/setup-watcom@v0
- name: Get sdl12-compat sources
uses: actions/checkout@v2
- name: Get SDL2 headers
uses: actions/checkout@v2
with:
repository: libsdl-org/SDL
ref: SDL2
path: SDL2
- name: Build sdl12-compat
run: |
cd src && wmake -f ${{ matrix.platform.makefile }} SDL2INC="${{ github.workspace }}/SDL2/include"
cd ..
- name: Build tests
run: |
cd test && wmake -f ${{ matrix.platform.makefile }}
cd ..
- name: distclean
run: |
cd src && wmake -f ${{ matrix.platform.makefile }} distclean
cd ..
cd test && wmake -f ${{ matrix.platform.makefile }} distclean
cd ..