This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
81 lines (67 sloc) 1.6 KB
version: 0.9.00.{build}
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:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
before_build:
- ps: |
if ($isLinux) {
$env:COMPILED_BY = "Mono"
$env:EDITION = "mono"
} else {
$env:COMPILED_BY = "VS2017"
$env:EDITION = "dotnet"
}
- cmd: IF EXIST runprebuild.bat runprebuild.bat
- sh: if [ -x runprebuild.sh ]; then ./runprebuild.sh; fi
- nuget restore Halcyon.sln
build:
parallel: true
verbosity: minimal
project: Halcyon.sln
publish_nuget: false
publish_nuget_symbols: false
for:
-
matrix:
only:
- image: Ubuntu
build_script:
- msbuild /p:DefineConstants="_MONO_CLI_FLAG_" Halcyon.sln
after_build:
- ps: |
If (Test-Path "bin/OpenSim.Framework.Servers.dll") {
$halcyon_version = (Get-ChildItem -Path bin/OpenSim.Framework.Servers.dll | % versioninfo).ProductVersion
Update-AppveyorBuild -Version "$halcyon_version-$env:APPVEYOR_BUILD_NUMBER"
}
- ps: Rename-Item -Path bin -NewName halcyon
# No tests for now.
test: off
artifacts:
- path: halcyon
name: Halcyon-$(APPVEYOR_BUILD_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(EDITION)
type: zip
deploy:
provider: GitHub
auth_token:
secure: "CfI4VUu86RwI9MC8YoMfj9PJRiyoVkwD8AAyiUgKXpPU32Zw"
artifact: Halcyon-$(APPVEYOR_BUILD_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(EDITION)
draft: true
prerelease: false
on:
APPVEYOR_REPO_TAG: true