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.
39 lines
993 B
39 lines
993 B
version: "{build}"
|
|
branches:
|
|
only:
|
|
- master
|
|
- /v\d+\..+/
|
|
os: Visual Studio 2015
|
|
configuration:
|
|
- Release
|
|
cache:
|
|
- C:/.hunter/_Base/Cache
|
|
install:
|
|
before_build:
|
|
- cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild
|
|
build_script:
|
|
- cmake --build build --config Release
|
|
after_build:
|
|
- cmake --build build --config Release --target package
|
|
|
|
artifacts:
|
|
- path: build/ethminer-*.zip
|
|
name: ethminer
|
|
|
|
before_deploy:
|
|
# Read variables dumped by CMake configuration.
|
|
- ps: . build/variables.ps1
|
|
deploy:
|
|
# Create GitHub release, also set the release name and description.
|
|
provider: GitHub
|
|
tag: $(appveyor_repo_tag_name)
|
|
release: ethminer $(ethminer_version)
|
|
description: ''
|
|
force_update: true # Force update in case Travis CI created the release before.
|
|
prerelease: $(ethminer_version_is_prerelease)
|
|
draft: false
|
|
artifact: ethminer
|
|
auth_token:
|
|
secure: uDRcvbW+9GIyKlZ9guJfWOQ6jg0An6eULg6mEkYgdKn/GVNpYSKvO5oHxP0U8a+e
|
|
on:
|
|
appveyor_repo_tag: true
|
|
|