diff options
-rw-r--r-- | .github/workflows/compat53-tests.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/compat53-tests.yml b/.github/workflows/compat53-tests.yml index 40819ce..34a4f78 100644 --- a/.github/workflows/compat53-tests.yml +++ b/.github/workflows/compat53-tests.yml | |||
@@ -19,6 +19,9 @@ jobs: | |||
19 | - luaVersion: "lua=5.1" | 19 | - luaVersion: "lua=5.1" |
20 | compiler: g++ | 20 | compiler: g++ |
21 | external: true | 21 | external: true |
22 | - luaVersion: "lua=5.1" | ||
23 | compiler: clang | ||
24 | external: false | ||
22 | - luaVersion: "luajit=@v2.1 --compat=none" | 25 | - luaVersion: "luajit=@v2.1 --compat=none" |
23 | compiler: gcc | 26 | compiler: gcc |
24 | external: false | 27 | external: false |
@@ -55,7 +58,7 @@ jobs: | |||
55 | if [ "${{ matrix.external }}" = true ]; then DEF="-DCOMPAT53_PREFIX=compat53" SRC="c-api/compat-5.3.c"; fi | 58 | if [ "${{ matrix.external }}" = true ]; then DEF="-DCOMPAT53_PREFIX=compat53" SRC="c-api/compat-5.3.c"; fi |
56 | ${CC} ${CFLAGS} -Iold/include ${DEF} -shared -o old/testmod.so tests/testmod.c ${SRC} | 59 | ${CC} ${CFLAGS} -Iold/include ${DEF} -shared -o old/testmod.so tests/testmod.c ${SRC} |
57 | ${CC} ${CFLAGS} -Inew/include ${DEF} -shared -o new/testmod.so tests/testmod.c ${SRC} | 60 | ${CC} ${CFLAGS} -Inew/include ${DEF} -shared -o new/testmod.so tests/testmod.c ${SRC} |
58 | gcc ${CFLAGS} -Iold/include ${DEF} -shared -o old/compat53.so ltablib.c lutf8lib.c lstrlib.c liolib.c ${SRC} | 61 | ${CC} ${CFLAGS} -Iold/include ${DEF} -shared -o old/compat53.so ltablib.c lutf8lib.c lstrlib.c liolib.c ${SRC} |
59 | - name: run test scripts | 62 | - name: run test scripts |
60 | run: | | 63 | run: | |
61 | (cd old && bin/lua ../tests/test.lua) > old.txt | 64 | (cd old && bin/lua ../tests/test.lua) > old.txt |