]> O.S.I.I.S - jp/crow.git/commitdiff
Appveyor (#47)
authorj-p <jp_bruyere@hotmail.com>
Sun, 5 May 2019 21:18:12 +0000 (23:18 +0200)
committerGitHub <noreply@github.com>
Sun, 5 May 2019 21:18:12 +0000 (23:18 +0200)
* remove appveyor config

* add dotnet conf for appveyor

* add dotnet conf for appveyor

appveyor.yml

index 42519fabee8f69f37e40cd9569409bba8c5ac986..ff82863de676851f59e9a8f3fdbc3eee9e871a0e 100644 (file)
@@ -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\**\*.*