-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (37 loc) · 1003 Bytes
/
build_dos_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
40
41
42
43
44
45
46
47
name: DOS build (Watcom)
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cache toolchain
id: cache-tc
uses: actions/cache@v3
with:
path: ow
key: openwatcom-cache1
- name: install toolchain
if: steps.cache-tc.outputs.cache-hit != 'true'
run: |
wget http://mutantstargoat.com/~nuclear/ow_bundle.tar.gz
tar xzvf ow_bundle.tar.gz
sed -i 's/HOME/GITHUB_WORKSPACE/g' ow/owsetenv-dos.sh
- name: download watt-32 prebuilt
run: |
wget -O libs/watt32/wattcpwf.lib http://nuclear.mutantstargoat.com/sw/visftp/watt-32/wattcpwf.lib
- name: build visftp
run: |
source ow/owsetenv-dos.sh
wmake
cp ow/binw/dos4gw.exe .
- uses: actions/upload-artifact@v3
with:
name: visftp-dos
path: |
visftp.exe
dos4gw.exe
# vi:ts=2 sts=2 sw=2 expandtab: