1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-25 21:55:25 +02:00

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
This commit is contained in:
sfan5
2022-05-01 14:44:48 +02:00
parent 47cf257c40
commit e108954633
7 changed files with 33 additions and 37 deletions

View File

@@ -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: |