mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Move one CI run to be on 64-bit ARM
This commit is contained in:
parent
986cd32f28
commit
ae35f37bc3
2 changed files with 17 additions and 10 deletions
14
.github/workflows/linux.yml
vendored
14
.github/workflows/linux.yml
vendored
|
@ -132,16 +132,16 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./util/test_multiplayer.sh
|
./util/test_multiplayer.sh
|
||||||
|
|
||||||
# Build with prometheus-cpp (server-only)
|
# Build with prometheus-cpp (server-only), also runs on ARM64
|
||||||
clang_11_prometheus:
|
clang_prometheus_arm:
|
||||||
name: "clang_11 (PROMETHEUS=1)"
|
name: "clang (with Prometheus, ARM64)"
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
source ./util/ci/common.sh
|
source ./util/ci/common.sh
|
||||||
install_linux_deps clang-11
|
install_linux_deps --headless clang libluajit-5.1-dev
|
||||||
|
|
||||||
- name: Build prometheus-cpp
|
- name: Build prometheus-cpp
|
||||||
run: ./util/ci/build_prometheus_cpp.sh
|
run: ./util/ci/build_prometheus_cpp.sh
|
||||||
|
@ -150,8 +150,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./util/ci/build.sh
|
./util/ci/build.sh
|
||||||
env:
|
env:
|
||||||
CC: clang-11
|
CC: clang
|
||||||
CXX: clang++-11
|
CXX: clang++
|
||||||
CMAKE_FLAGS: "-DENABLE_PROMETHEUS=1 -DBUILD_CLIENT=0 -DENABLE_CURSES=0"
|
CMAKE_FLAGS: "-DENABLE_PROMETHEUS=1 -DBUILD_CLIENT=0 -DENABLE_CURSES=0"
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
|
@ -2,12 +2,19 @@
|
||||||
|
|
||||||
# Linux build only
|
# Linux build only
|
||||||
install_linux_deps() {
|
install_linux_deps() {
|
||||||
|
local graphics=1
|
||||||
|
if [[ "$1" == "--headless" ]]; then
|
||||||
|
graphics=
|
||||||
|
shift
|
||||||
|
fi
|
||||||
local pkgs=(
|
local pkgs=(
|
||||||
cmake gettext postgresql
|
cmake gettext postgresql
|
||||||
|
libsqlite3-dev libhiredis-dev libogg-dev libgmp-dev libpq-dev
|
||||||
|
libleveldb-dev libcurl4-openssl-dev libzstd-dev libssl-dev
|
||||||
|
)
|
||||||
|
[ -n "$graphics" ] && pkgs+=(
|
||||||
libpng-dev libjpeg-dev libgl1-mesa-dev libsdl2-dev libfreetype-dev
|
libpng-dev libjpeg-dev libgl1-mesa-dev libsdl2-dev libfreetype-dev
|
||||||
libsqlite3-dev libhiredis-dev libogg-dev libgmp-dev libvorbis-dev
|
libogg-dev libvorbis-dev libopenal-dev
|
||||||
libopenal-dev libpq-dev libleveldb-dev libcurl4-openssl-dev libzstd-dev
|
|
||||||
libssl-dev
|
|
||||||
)
|
)
|
||||||
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue