File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: build
22on : [push]
33
44jobs :
5- ljsocket :
5+ ljsocket-linux :
66 runs-on : ubuntu-latest
77 container :
88 image : debian:latest
2424 make
2525 make install
2626
27- # Create symlink from versioned binary to 'luajit'
2827 LUAJIT_BIN=$(find /usr/local/bin -name 'luajit-*' -type f | head -n 1)
2928 if [ -n "$LUAJIT_BIN" ]; then
3029 ln -sf "$LUAJIT_BIN" /usr/local/bin/luajit
3837 luajit -v
3938
4039 - name : Run tests
40+ run : |
41+ luajit test/run.lua
42+
43+ ljsocket-windows :
44+ runs-on : windows-latest
45+
46+ steps :
47+ - name : checkout the project
48+ uses : actions/checkout@v4
49+
50+ - name : Set up MSYS2
51+ uses : msys2/setup-msys2@v2
52+ with :
53+ msystem : MINGW64
54+ update : true
55+ install : >-
56+ git
57+ make
58+ mingw-w64-x86_64-gcc
59+
60+ - name : Build and install LuaJIT from source
61+ shell : msys2 {0}
62+ run : |
63+ cd /tmp
64+ git clone https://luajit.org/git/luajit.git
65+ cd luajit
66+ make
67+ make install
68+
69+ - name : Verify LuaJIT installation
70+ shell : msys2 {0}
71+ run : |
72+ which luajit
73+ luajit -v
74+
75+ - name : Run tests
76+ shell : msys2 {0}
4177 run : |
4278 luajit test/run.lua
You can’t perform that action at this time.
0 commit comments