This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/appveyor.yml

40 lines
1.3 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: '{build}'
branches:
only:
- master
- /^golded-.*/
environment:
matrix:
- generator: Visual Studio 10 2010
pf: "msvc2010"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- generator: Visual Studio 10 2010 Win64
pf: "msvc2010"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- generator: Visual Studio 15 2017
pf: "msvc2017"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- generator: Visual Studio 15 2017 Win64
pf: "msvc2017"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
install:
- cmd: copy golded3\mygolded.__h golded3\mygolded.h
build_script:
- if ["%GENERATOR%"]==["Visual Studio 10 2010 Win64"] if not ["%APPVEYOR_REPO_TAG%"]==["true"] (appveyor exit)
- if ["%GENERATOR%"]==["Visual Studio 15 2017 Win64"] if not ["%APPVEYOR_REPO_TAG%"]==["true"] (appveyor exit)
- cmd: mkdir build && cd build && cmake --version
- cmd: cmake .. -G "%GENERATOR%"
- cmd: cmake --build . -- /P:Configuration=Release
- cmd: cpack
- ps: gci *.7z | %{ rename-item path $_.Fullname Newname ( $_.basename +"-"+$Env:pf+$_.extension) }
artifacts:
- path: build\*.7z
name: dist
deploy:
provider: GitHub
artifact: dist
auth_token: $(GITHUB_OAUTH_TOKEN)
on:
appveyor_repo_tag: true