Skip to content

Commit 073f697

Browse files
committed
Updated GitHub workflow with Linux build.
1 parent 379693e commit 073f697

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/LuaWatcom.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
run: |
6363
wmake -f wm_dos4g.mak
6464
65-
- name: Build Lua for Windows 95
65+
- name: Build Lua for Linux
6666
env:
67-
INCLUDE: "${{ env.WATCOM }}/h/nt:${{ env.WATCOM }}/h"
67+
INCLUDE: "${{ env.WATCOM }}/lh"
6868
run: |
69-
wmake -f wm_winnt.mak
69+
wmake -f wm_linux.mak
7070
7171
- name: Build Lua for OS/2 16-bit
7272
env:
@@ -80,6 +80,12 @@ jobs:
8080
run: |
8181
wmake -f wm_os232.mak
8282
83+
- name: Build Lua for Windows 95
84+
env:
85+
INCLUDE: "${{ env.WATCOM }}/h/nt:${{ env.WATCOM }}/h"
86+
run: |
87+
wmake -f wm_winnt.mak
88+
8389
- name: Copy DOS4GW Binary
8490
run: |
8591
cp $WATCOM/binw/dos4gw.exe dist/bin/DOS4GW.EXE
@@ -98,11 +104,11 @@ jobs:
98104
99105
- name: Set modification time on built binaries to the latest commit
100106
run: |
101-
touch --date="$(git log -1 --pretty=format:%cI)" dist/bin/*.EXE
107+
touch --date="$(git log -1 --pretty=format:%cI)" dist/bin/*.ELF dist/bin/*.EXE
102108
103109
- name: Create Binaries Zip
104110
run: |
105-
files=$(find dist/bin/*.EXE demo/core/*.LUA demo/xtra/*.LUA | sort | xargs)
111+
files=$(find dist/bin/*.ELF dist/bin/*.EXE demo/core/*.LUA demo/xtra/*.LUA | sort | xargs)
106112
zip -j9 --DOS-names dist/LuaExe.zip $files
107113
name="dist/WLE$(sha256sum dist/LuaExe.zip | awk '{print $1}' | cut -c1-5).zip"
108114
mv dist/LuaExe.zip $name
@@ -120,7 +126,7 @@ jobs:
120126
121127
- name: Set modification time on UPX compressed binaries to the latest commit
122128
run: |
123-
touch --date="$(git log -1 --pretty=format:%cI)" dist/bin/*.EXE
129+
touch --date="$(git log -1 --pretty=format:%cI)" dist/bin/*.ELF dist/bin/*.EXE
124130
125131
- name: Create 160k 16-bit DOS Floppy Diskette Image
126132
run: |
@@ -142,7 +148,7 @@ jobs:
142148
export LD_PRELOAD=$(dpkg -L libfaketime | grep libfaketime.so.1)
143149
label="LUA MULTIOS"
144150
serial="0x$(echo "$label$FAKETIME" | sha256sum | cut -c1-8)"
145-
files=$(find dist/bin/*.EXE demo/core/*.LUA demo/xtra/*.LUA | sort | xargs)
151+
files=$(find dist/bin/*.ELF dist/bin/*.EXE demo/core/*.LUA demo/xtra/*.LUA | sort | xargs)
146152
echo "Faketime: $FAKETIME"
147153
echo "Files: $files"
148154
echo "Label: $label"

0 commit comments

Comments
 (0)