65 lines
1.9 KiB
YAML
65 lines
1.9 KiB
YAML
clone_depth: 5
|
|
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
CMAKE_GENERATOR: "Visual Studio 15 2017"
|
|
QTDIR: "C:/Qt/5.12.5/msvc2017/bin"
|
|
CMAKE_PREFIX_PATH: "C:/Qt/5.12.5/msvc2017/lib/cmake"
|
|
CONFIGURATION: Release
|
|
ARTIFACT: libDOtherside-windows-msvc2017-qt-5.12.5.zip
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
|
|
QTDIR: "C:/Qt/5.12.5/msvc2017_64/bin"
|
|
CMAKE_PREFIX_PATH: "C:/Qt/5.12.5/msvc2017_64/lib/cmake"
|
|
CONFIGURATION: Release
|
|
ARTIFACT: libDOtherside-windows-msvc2017_x64-qt-5.12.5.zip
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
CMAKE_GENERATOR: "Visual Studio 15 2017"
|
|
QTDIR: "C:/Qt/5.13.2/msvc2017/bin"
|
|
CMAKE_PREFIX_PATH: "C:/Qt/5.13.2/msvc2017/lib/cmake"
|
|
CONFIGURATION: Release
|
|
ARTIFACT: libDOtherside-windows-msvc2017-qt-5.13.2.zip
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
|
|
QTDIR: "C:/Qt/5.13.2/msvc2017_64/bin"
|
|
CMAKE_PREFIX_PATH: "C:/Qt/5.13.2/msvc2017_64/lib/cmake"
|
|
CONFIGURATION: Release
|
|
ARTIFACT: libDOtherside-windows-msvc2017_x64-qt-5.13.2.zip
|
|
|
|
|
|
install:
|
|
- set PATH=%QTDIR%;%PATH%
|
|
|
|
build_script:
|
|
- mkdir build && cd build
|
|
- cmake .. -G"%CMAKE_GENERATOR%" -DCMAKE_PREFIX_PATH=%CMAKE_PREFIX_PATH%
|
|
- cmake --build . --config %CONFIGURATION%
|
|
- cd ..
|
|
|
|
test_script:
|
|
- set PATH=%QTDIR%;%PATH%
|
|
- build\test\%CONFIGURATION%\TestDynamicQObject.exe
|
|
|
|
after_build:
|
|
- 7z a %ARTIFACT% %APPVEYOR_BUILD_FOLDER%\build\lib\%CONFIGURATION%\DOtherSide.dll README.md CHANGELOG.md LICENSE
|
|
|
|
artifacts:
|
|
- path: $(ARTIFACT)
|
|
name: $(ARTIFACT)
|
|
type: zip
|
|
|
|
deploy:
|
|
description: 'AppVeyor Artifacts'
|
|
provider: GitHub
|
|
auth_token:
|
|
secure: mQWOVHGwctWmZ2wGL/Jy1I8DrHYjWYQwgEabF/R+LRruFlwkAUAvm2nTO5fcypNL
|
|
artifact: $(ARTIFACT)
|
|
draft: true
|
|
prerelease: true
|
|
on:
|
|
appveyor_repo_tag: true
|