* remove appveyor config
* add dotnet conf for appveyor
* add dotnet conf for appveyor
-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\**\*.*