1 Star 2 Fork 1

AlphaTab / alphaTab

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
appveyor.yml 2.96 KB
Copy Edit Raw Blame History
Danielku15 authored 2018-08-18 21:11 . Use environment deploy
version: 0.9.1.{build}
# branches to build
branches:
only:
- master
- develop
image: Visual Studio 2017
configuration: Release
platform: Any CPU
environment:
nodejs_version: '8'
global:
HAXELIB_ROOT: C:\projects\haxelib
access_token:
secure: ig+MHQrCziKIZzGkDBsOTuusdSATGEXh79QCG8b4guSHAcM0+uYy0zGoVTKG446Q
deployment_token:
secure: F3tqGIN2guX5kU5B6q89HGPDAgI0g//DwtqRQL0oVeaJU6oBkgbQeJfiproA3yFi
skip_commits:
author: AlphaTab Build Agent
install:
#
# Haxe installation
- ps: Set-Service wuauserv -StartupType Manual
# Install the neko chocolatey package (https://chocolatey.org/packages/neko)
- cinst neko --version 2.2.0 -y
# Install the haxe chocolatey package (https://chocolatey.org/packages/haxe)
- cinst haxe --version 3.4.4 -y
- RefreshEnv
# Setup haxelib
- mkdir "%HAXELIB_ROOT%"
- haxelib setup "%HAXELIB_ROOT%"
# Install project dependencies
# `> log.txt || type log.txt` is for muting the output unless there is an error
- haxelib install munit > log.txt || type log.txt && cmd /C exit 1
- haxelib install hamcrest > log.txt || type log.txt && cmd /C exit 1
- haxelib list
#
# Npm/Uglifyjs installation
- npm install -g uglify-js
- RefreshEnv
dotnet_csproj:
patch: true
file: 'Directory.Build.props'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
build:
parallel: true
publish_nuget: false
publish_nuget_symbols: false
verbosity: minimal
before_build:
- nuget restore
test:
assemblies:
only:
- Source\AlphaTab.Test.CSharp\bin\Release\net471\AlphaTab.Test.CSharp.dll
after_test:
- Documentation\generate.bat
- 7z a -r Documentation\documentation.zip Documentation\output\*
artifacts:
# JavaScript Output
- path: Build\JavaScript\*.*
name: JavaScript
# NuGet package output
- path: Source\AlphaTab.CSharp\Bin\$(configuration)\*.nupkg
name: NuGet
# Documentation
- path: Documentation\documentation.zip
name: Documentation
deploy:
# My Get (Every Build)
- provider: NuGet
server: https://www.myget.org/F/coderline/api/v2
api_key:
secure: sQI+q8oHDFwWAWOy/pvP4zHehqNASufniwX7aOpN03YlcKt44ZX/55guh2kGoJ2n
artifact: NuGet
# NuGet.org (Only Tagged on Master)
- provider: NuGet
api_key:
secure: 89W5Zsv2maiKx7/Bmn5zFFlKjPC2J7NnDRhPrpeH9hEnVvtDlWt04xR+kYi52dPt
artifact: NuGet
on:
branch: master
appveyor_repo_tag: true
# Documentation
- provider: Environment
name: AlphaTabDocumentation
on_success:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git config --global user.email "appveyor@alphatab.net"
- git config --global user.name "AlphaTab Build Agent"
- git add Directory.Build.props
- git commit -m "%APPVEYOR_REPO_COMMIT_MESSAGE%, build %APPVEYOR_BUILD_VERSION%"
- git push origin "%APPVEYOR_REPO_BRANCH%"
C#
1
https://gitee.com/AlphaTab/alphaTab.git
git@gitee.com:AlphaTab/alphaTab.git
AlphaTab
alphaTab
alphaTab
master

Search