From e2f434f35a86a30962f2aebb36fcf59c9250838d Mon Sep 17 00:00:00 2001 From: j-p Date: Sun, 5 May 2019 23:18:12 +0200 Subject: [PATCH] Appveyor (#47) * remove appveyor config * add dotnet conf for appveyor * add dotnet conf for appveyor --- appveyor.yml | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 42519fab..ff82863d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,22 +1,15 @@ -version: 0.4.{build} - -branches: - only: - - master - -clone_depth: 1 - +version: '0.9.0.{build}' +configuration: +- Debug +- Release +platform: Any CPU +init: +- ps: $Env:LABEL = "CI" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0") before_build: -- cmd: nuget restore Crow.sln - +- appveyor-retry dotnet restore -v Minimal build_script: - - set path=%path%;C:\Program Files (x86)\Mono\bin - - xbuild /p:Configuration=Release Crow.sln - -#build: off - -build: - -# project: Crow.sln - - verbosity: normal +- dotnet build Crow.sln -c %CONFIGURATION% --no-dependencies --version-suffix %LABEL% +after_build: +- dotnet pack Crow.sln -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o artifacts +artifacts: +- path: artifacts\**\*.* -- 2.47.3