mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 13:59:19 +02:00
appveyor: fix linux build (ubuntu 24.04, python 3.14, no better renderer)
This commit is contained in:
10
appveyor.yml
10
appveyor.yml
@@ -3,7 +3,7 @@ version: '{build}'
|
||||
# Build on both Windows and Linux
|
||||
image:
|
||||
- Visual Studio 2022
|
||||
- Ubuntu2004
|
||||
- Ubuntu2404
|
||||
|
||||
# Używamy własnych kroków build
|
||||
build: off
|
||||
@@ -58,7 +58,7 @@ for:
|
||||
# ------------------------------------------------------------------ Linux
|
||||
- matrix:
|
||||
only:
|
||||
- image: Ubuntu2004
|
||||
- image: Ubuntu2404
|
||||
|
||||
init:
|
||||
- sh: |
|
||||
@@ -69,13 +69,15 @@ for:
|
||||
- sh: |
|
||||
git submodule update --init --recursive
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y libglfw3-dev python3-dev libpng-dev libopenal-dev libluajit-5.1-dev libserialport-dev libsndfile1-dev
|
||||
sudo apt-get install -y libglfw3-dev libpng-dev libopenal-dev libluajit-5.1-dev libserialport-dev libsndfile1-dev
|
||||
|
||||
build_script:
|
||||
- sh: |
|
||||
# Python 3.14 is preinstalled on the image (pyenv); point CMake at it
|
||||
PYTHON=$(pyenv which python3.14 2>/dev/null || command -v python3.14)
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DUSE_LTO=ON
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DWITH_BETTER_RENDERER=OFF -DUSE_LTO=ON -DPython3_EXECUTABLE="$PYTHON"
|
||||
cmake --build . --parallel
|
||||
cd ..
|
||||
|
||||
|
||||
Reference in New Issue
Block a user