mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 17:29:18 +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
|
# Build on both Windows and Linux
|
||||||
image:
|
image:
|
||||||
- Visual Studio 2022
|
- Visual Studio 2022
|
||||||
- Ubuntu2004
|
- Ubuntu2404
|
||||||
|
|
||||||
# Używamy własnych kroków build
|
# Używamy własnych kroków build
|
||||||
build: off
|
build: off
|
||||||
@@ -58,7 +58,7 @@ for:
|
|||||||
# ------------------------------------------------------------------ Linux
|
# ------------------------------------------------------------------ Linux
|
||||||
- matrix:
|
- matrix:
|
||||||
only:
|
only:
|
||||||
- image: Ubuntu2004
|
- image: Ubuntu2404
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- sh: |
|
- sh: |
|
||||||
@@ -69,13 +69,15 @@ for:
|
|||||||
- sh: |
|
- sh: |
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
sudo apt-get update -y
|
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:
|
build_script:
|
||||||
- sh: |
|
- 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
|
mkdir -p build
|
||||||
cd 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
|
cmake --build . --parallel
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user