mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
36 lines
714 B
YAML
36 lines
714 B
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.bat
|
|
|
|
before_build:
|
|
- cmd: |
|
|
if not exist build mkdir build
|
|
cd build
|
|
cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%CONFIG%
|
|
|
|
build_script:
|
|
- cmd: |
|
|
cmake --build . --config %CONFIG% --parallel
|
|
|
|
artifacts:
|
|
- path: build\bin\%CONFIG%\*.exe
|
|
name: binaries
|
|
- path: build\bin\%CONFIG%\*.pdb
|
|
name: symbols
|