Skip to content

Commit a38b152

Browse files
committed
Remove dos2unix from command and consolidate Lua script test into Watcom job
1 parent d7fc38d commit a38b152

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/LuaWatcom.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,8 @@ name: Lua for Watcom
33
on: push
44

55
jobs:
6-
Lua:
7-
name: Demo Script Check
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Install Tools
11-
run: |
12-
sudo apt-get update
13-
sudo apt-get install -y lua5.4
14-
lua -v
15-
16-
- name: Test Lua Demo scripts
17-
run: |
18-
for file in demo/core/*.lua; do if [ -x "$file" ]; then echo -e "\n>> ./$file"; yes "" | "$file"; fi done
19-
206
Watcom:
217
name: Build Lua with Open Watcom
22-
needs: Lua
238
runs-on: ubuntu-latest
249

2510
steps:
@@ -30,7 +15,11 @@ jobs:
3015
- name: Install Tools
3116
run: |
3217
sudo apt-get update
33-
sudo apt-get install -y dos2unix gcc libreadline-dev make mtools zip
18+
sudo apt-get install -y gcc libreadline-dev lua5.4 make mtools zip
19+
20+
- name: Test Lua Core Demo Scripts function
21+
run: |
22+
for file in demo/core/*.lua; do if [ -x "$file" ]; then echo -e "\n>> ./$file"; yes "" | "$file"; fi done
3423
3524
- uses: actions/checkout@v4
3625
with:

0 commit comments

Comments
 (0)