提交 ff709669 编写于 作者: wu-sheng's avatar wu-sheng

Try to use 3rd party lua runtime.

上级 98f1d388
......@@ -35,7 +35,6 @@ jobs:
- uses: actions/checkout@v1
with:
submodules: true
- name: 'Install LUA runtime'
run: |
sh ci/lua-setup.sh
lua -v
\ No newline at end of file
- uses: leafo/gh-actions-lua@v5
with:
luaVersion: "5.3.5"
\ No newline at end of file
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
tar zxf lua-5.3.5.tar.gz
cd lua-5.3.5
make linux test
cd src
LUA_PATH=`pwd`
export PATH=$PATH:$LUA_PATH
echo $PATH
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册