From 8024c2be7b33fc0aebc0ecc334aa1aef9cb017b4 Mon Sep 17 00:00:00 2001 From: Hirek193 Date: Wed, 19 Aug 2026 14:48:03 +0200 Subject: [PATCH] Revert "Delete appveyor.yml" This reverts commit 8a22553e7cca99cb73ee52813e0afdce5d826e04. --- appveyor.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..3a189dc9 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,44 @@ +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 + +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