forked from HalcyonGrid/halcyon-setuptools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
96 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
init: | ||
- ps: if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:TAG_VERSION = "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER" } else { $env:TAG_VERSION = "v1.0.0.$env:APPVEYOR_BUILD_NUMBER-alpha" } | ||
- ps: $env:TAG_VERSION = $env:TAG_VERSION -replace 'v','' | ||
- ps: Write-Host "Setting version to '$env:TAG_VERSION'" | ||
- ps: Update-AppveyorBuild -Version "$env:TAG_VERSION" | ||
|
||
image: | ||
- Visual Studio 2017 | ||
- Ubuntu | ||
|
||
configuration: Release | ||
|
||
platform: | ||
- x64 | ||
|
||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
nuget: | ||
disable_publish_on_pr: true | ||
|
||
skip_commits: | ||
files: | ||
- doc/* | ||
- README.md | ||
- .gitignore | ||
- LICENSE | ||
|
||
cache: | ||
- HalcyonSetuptools\packages -> **\packages.config | ||
- '%LocalAppData%\NuGet\Cache' | ||
|
||
assembly_info: | ||
patch: true | ||
assembly_version: '{version}' | ||
assembly_file_version: '{version}' | ||
assembly_informational_version: '{version}' | ||
|
||
before_build: | ||
- ps: | | ||
if ($isLinux) { | ||
$env:EDITION = "mono" | ||
} else { | ||
$env:EDITION = "dotnet" | ||
} | ||
- cd HalcyonSetuptools | ||
- nuget restore HalcyonSetuptools.sln | ||
|
||
build: | ||
project: HalcyonSetuptools\HalcyonSetuptools.sln | ||
parallel: true | ||
verbosity: minimal | ||
publish_nuget: false | ||
publish_nuget_symbols: false | ||
for: | ||
- | ||
matrix: | ||
only: | ||
- image: Ubuntu | ||
build_script: | ||
- msbuild HalcyonSetuptools.sln | ||
|
||
after_build: | ||
- ps: Set-Location "$env:APPVEYOR_BUILD_FOLDER" | ||
- ps: Rename-Item -Path bin -NewName halcyon-setuptools | ||
|
||
# No tests for now. | ||
test: off | ||
|
||
artifacts: | ||
- path: halcyon-setuptools | ||
name: halcyon-setuptools-$(APPVEYOR_BUILD_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(EDITION) | ||
type: zip | ||
|
||
deploy: | ||
provider: GitHub | ||
auth_token: | ||
secure: "CfI4VUu86RwI9MC8YoMfj9PJRiyoVkwD8AAyiUgKXpPU32Zw" | ||
artifact: halcyon-setuptools-$(APPVEYOR_BUILD_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(EDITION) | ||
draft: true | ||
prerelease: false | ||
on: | ||
APPVEYOR_REPO_TAG: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# halcyon-setuptools | ||
|
||
Build Status | ||
* Master branch: [![Build status](https://ci.appveyor.com/api/projects/status/x6px79a0vyb4ada7/branch/master?svg=true)](https://ci.appveyor.com/project/HalcyonGrid/halcyon-setuptools/branch/master) | ||
* Latest release: [https://github.com/HalcyonGrid/halcyon-setuptools/releases](https://github.com/HalcyonGrid/halcyon-setuptools/releases) | ||
|
||
Tools to assist in configuring and launching halcyon instances | ||
|
||
## Compiling | ||
|
||
Simply open the solution file under `HalcyonSetuptools` in Visual Studio 2017 or a recent version of MonoDevelop and build. The resulting binaries will be located in the `bin` folder that will be produced as a result. |