diff --git a/appveyor.yml b/appveyor.yml index e3d02597..19917be5 100644 --- a/appveyor.yml +++ b/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 ..