You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
966 B
45 lines
966 B
clone_folder: c:\projects\oyun
|
|
|
|
image: Visual Studio 2017
|
|
configuration: Release
|
|
platform: x64
|
|
|
|
cache:
|
|
- c:\tools\vcpkg\installed\
|
|
|
|
init:
|
|
- set arch=Win64
|
|
- echo %arch%
|
|
- set generator="Visual Studio 15 2017 Win64"
|
|
- echo %generator%
|
|
|
|
install:
|
|
- vcpkg install wxwidgets:x64-windows-static
|
|
|
|
before_build:
|
|
- mkdir cmake-build
|
|
- cd cmake-build
|
|
- cmake --version
|
|
- cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release .. -G %generator%
|
|
|
|
test_script:
|
|
- c:\projects\oyun\cmake-build\src\release\oyun_test.exe
|
|
|
|
after_test:
|
|
- cpack -C Release
|
|
|
|
artifacts:
|
|
- path: 'cmake-build\oyun-*.exe'
|
|
name: installer
|
|
|
|
deploy:
|
|
description: Installers for Oyun
|
|
provider: GitHub
|
|
auth_token:
|
|
secure: 'n7O9+nn3VbOm75nTh5tDQqLzECDH9gqFyFh1T1dbBGHsq05mrevEx1OMRU1XOyV0'
|
|
artifact: installer
|
|
draft: false
|
|
prerelease: false
|
|
on:
|
|
appveyor_repo_tag: true
|