mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-12 12:45:28 +01:00
Add non-headless singleplayer tests to CI
This commit is contained in:
6
.github/workflows/linux.yml
vendored
6
.github/workflows/linux.yml
vendored
@@ -119,7 +119,7 @@ jobs:
|
||||
- name: Install deps
|
||||
run: |
|
||||
source ./util/ci/common.sh
|
||||
install_linux_deps clang-18 lldb
|
||||
install_linux_deps clang-18 lldb xvfb
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
@@ -136,6 +136,10 @@ jobs:
|
||||
run: |
|
||||
./util/test_multiplayer.sh
|
||||
|
||||
- name: Singleplayer test
|
||||
run: |
|
||||
xvfb-run ./util/test_singleplayer.sh
|
||||
|
||||
# Build with prometheus-cpp (server-only), also runs on ARM64
|
||||
clang_prometheus_arm:
|
||||
name: "clang (with Prometheus, ARM64)"
|
||||
|
||||
6
.github/workflows/lua.yml
vendored
6
.github/workflows/lua.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Install deps
|
||||
run: |
|
||||
source ./util/ci/common.sh
|
||||
install_linux_deps clang gdb libluajit-5.1-dev
|
||||
install_linux_deps clang gdb libluajit-5.1-dev xvfb
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
@@ -37,6 +37,10 @@ jobs:
|
||||
run: |
|
||||
serverconf="profiler.load=true" ./util/test_multiplayer.sh
|
||||
|
||||
- name: Singleplayer test (GL3)
|
||||
run: |
|
||||
clientconf="video_driver=opengl3" xvfb-run ./util/test_singleplayer.sh
|
||||
|
||||
luacheck:
|
||||
name: "Builtin Luacheck and Unit Tests"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user