summaryrefslogtreecommitdiff
path: root/.github/workflows/lua.yml
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-05-01 14:44:48 +0200
committersfan5 <sfan5@live.de>2022-05-06 15:15:53 +0200
commite108954633df9e4b2e235dd8e16b64f846a2d251 (patch)
tree01bd7adef3cdecde9e728c302a545ef5ff78de68 /.github/workflows/lua.yml
parent47cf257c4098f087d4dc46ac28ddb39141222b0c (diff)
downloadminetest-e108954633df9e4b2e235dd8e16b64f846a2d251.tar.gz
minetest-e108954633df9e4b2e235dd8e16b64f846a2d251.tar.bz2
minetest-e108954633df9e4b2e235dd8e16b64f846a2d251.zip
Sort out some issues with our CI setup
* add missing apt-get update where needed * move some jobs to run on ubuntu-20.04 * update actions plugins to latest * speed up the job that runs multiplayer tests
Diffstat (limited to '.github/workflows/lua.yml')
-rw-r--r--.github/workflows/lua.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml
index 0fa30bb15..3af4a6ee7 100644
--- a/.github/workflows/lua.yml
+++ b/.github/workflows/lua.yml
@@ -19,11 +19,11 @@ jobs:
name: "Compile and run multiplayer tests"
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install deps
run: |
source ./util/ci/common.sh
- install_linux_deps clang-10 gdb
+ install_linux_deps clang-10 gdb libluajit-5.1-dev
- name: Build
run: |
@@ -31,6 +31,7 @@ jobs:
env:
CC: clang-10
CXX: clang++-10
+ CMAKE_FLAGS: "-DENABLE_GETTEXT=0 -DBUILD_SERVER=0"
- name: Integration test + devtest
run: |
@@ -38,12 +39,12 @@ jobs:
luacheck:
name: "Builtin Luacheck and Unit Tests"
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install luarocks
run: |
- sudo apt-get install luarocks -qyy
+ sudo apt-get update && sudo apt-get install -y luarocks
- name: Install luarocks tools
run: |