16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-09-01 10:29:18 +02:00

appveyor: get python 3.14 from deadsnakes, drop uv

This commit is contained in:
maj00r
2026-08-15 21:12:12 +02:00
parent 027c627f13
commit cbcf0b7916

View File

@@ -68,19 +68,16 @@ for:
install: install:
- sh: | - sh: |
git submodule update --init --recursive git submodule update --init --recursive
# Python 3.14 (with dev headers + libpython) isn't in noble; deadsnakes has it
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install -y libglfw3-dev libpng-dev libopenal-dev libluajit-5.1-dev libserialport-dev libsndfile1-dev sudo apt-get install -y python3.14-dev libglfw3-dev libpng-dev libopenal-dev libluajit-5.1-dev libserialport-dev libsndfile1-dev
# the image's Python 3.14 lacks embeddable headers/libpython; fetch a
# standalone CPython (with Development.Embed) via uv
curl -LsSf https://astral.sh/uv/install.sh | sh
"$HOME/.local/bin/uv" python install 3.14
build_script: build_script:
- sh: | - sh: |
PYTHON=$("$HOME/.local/bin/uv" python find 3.14)
mkdir -p build mkdir -p build
cd build cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DWITH_BETTER_RENDERER=OFF -DUSE_LTO=ON -DPython3_EXECUTABLE="$PYTHON" cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DWITH_BETTER_RENDERER=OFF -DUSE_LTO=ON -DPython3_EXECUTABLE=/usr/bin/python3.14
cmake --build . --parallel cmake --build . --parallel
cd .. cd ..