mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-17 22:39:17 +02:00
Squashes the last five commits: migrate to Python 3.14 (CMake, AppVeyor, Azure, README), vcpkg/setup-ci fixes, CMake adjustments, remove bundled ref/python 2.7, and related scripting/static file updates. Co-authored-by: Cursor <cursoragent@cursor.com>
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
version: '{build}'
|
|
image: Visual Studio 2022
|
|
|
|
# Używamy własnych kroków build
|
|
build: off
|
|
|
|
# Zmienna z konfiguracją
|
|
environment:
|
|
CONFIG: RelWithDebInfo
|
|
|
|
init:
|
|
- cmd: |
|
|
echo Build worker: %APPVEYOR_BUILD_WORKER_IMAGE%
|
|
ver
|
|
|
|
install:
|
|
- cmd: |
|
|
git submodule update --init --recursive
|
|
call setup-ci.bat
|
|
|
|
before_build:
|
|
- cmd: |
|
|
if not exist build mkdir build
|
|
cd build
|
|
cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%CONFIG% -DPython3_ROOT_DIR=C:/Python314-x64 -DWITH_PYTHON_AUTO_INSTALL_WIN=OFF
|
|
|
|
build_script:
|
|
- cmd: |
|
|
cmake --build . --config %CONFIG% --parallel
|
|
cd ..
|
|
|
|
after_build:
|
|
- cmd: |
|
|
echo Copying shaders...
|
|
if not exist build\bin\%CONFIG%\shaders mkdir build\bin\%CONFIG%\shaders
|
|
xcopy /E /Y shaders build\bin\%CONFIG%\shaders\
|
|
|
|
artifacts:
|
|
- path: build\bin\%CONFIG%\*.exe
|
|
name: binaries
|
|
- path: build\pdb\%CONFIG%\*.pdb
|
|
name: symbols
|
|
- path: build\bin\%CONFIG%\shaders
|
|
name: shaders
|