File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,18 @@ jobs:
3333 timeout-minutes : 5
3434 steps :
3535 - uses : actions/checkout@v4
36- - name : Install XMLua
36+ with :
37+ path : " xmlua"
38+ - uses : actions/checkout@v4
39+ with :
40+ repository : " clear-code/luacs"
41+ path : " luacs"
42+ - name : Install dependencies
3743 run : |
38- brew update
3944 brew bundle
45+ - name : Install XMLua
46+ run : |
47+ cd xmlua
4048 LUAROCKS="sudo -H luarocks --tree=$(brew --prefix) --lua-dir=$(brew --prefix luajit)"
4149 VERSION=$(grep VERSION xmlua.lua | sed -e 's/.*"\(.*\)"/\1/g')
4250 cp xmlua.rockspec xmlua-${VERSION}-0.rockspec
4654 ${LUAROCKS} install cqueues \
4755 CRYPTO_DIR=$(brew --prefix openssl) \
4856 OPENSSL_DIR=$(brew --prefix openssl)
49- git clone --depth 1 https://github.com/clear-code/luacs.git ../luacs
5057 - name : Test
5158 run : |
59+ cd xmlua
5260 test/run-test.lua
5361 luajit -e 'package.path = "../luacs/?.lua;" .. package.path' \
5462 sample/parse-html-cqueues-thread.lua sample/sample.html
You can’t perform that action at this time.
0 commit comments