Skip to content

Commit 4708352

Browse files
committed
Added additional check to Github workflow to ensure GCC can still build the Lua source files after patching
1 parent 68f0b29 commit 4708352

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/LuaWatcom.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ jobs:
1111
- uses: open-watcom/setup-watcom@v0
1212
with:
1313
version: "1.9"
14+
15+
- name: Install Tools
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install -y dos2unix gcc libreadline-dev make mtools zip
19+
1420
- uses: actions/checkout@v4
1521
with:
1622
submodules: recursive
@@ -20,6 +26,12 @@ jobs:
2026
run: |
2127
patch -p0 -i lua.pat
2228
29+
- name: Check GCC can build Lua after patches
30+
run: |
31+
cd lua
32+
make
33+
cd ..
34+
2335
- name: Build Lua for DOS 16-bit
2436
run: |
2537
export INCLUDE=$WATCOM/h
@@ -49,11 +61,6 @@ jobs:
4961
run: |
5062
cp $WATCOM/binw/dos4gw.exe dist/bin/
5163
52-
- name: Install Post Build Packaging Tools
53-
run: |
54-
sudo apt-get update
55-
sudo apt-get install -y dos2unix mtools zip
56-
5764
- name: Ensure Lua Scripts Have CR/LF Line Endings
5865
run: |
5966
unix2dos *.lua

0 commit comments

Comments
 (0)