mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.6 KiB
67 lines
1.6 KiB
version: 1.0.0.{build}
|
|
image: Visual Studio 2017
|
|
|
|
# prevent the double build when a branch has an active PR
|
|
skip_branch_with_pr: true
|
|
|
|
environment:
|
|
matrix:
|
|
- target_framework: netcoreapp2.1
|
|
is_32bit: False
|
|
|
|
- target_framework: netcoreapp2.1
|
|
is_32bit: True
|
|
|
|
- target_framework: net472
|
|
is_32bit: False
|
|
|
|
- target_framework: net472
|
|
is_32bit: True
|
|
|
|
- target_framework: net462
|
|
is_32bit: False
|
|
|
|
- target_framework: net462
|
|
is_32bit: True
|
|
|
|
#- target_framework: mono
|
|
# is_32bit: False
|
|
#- target_framework: mono
|
|
# is_32bit: True
|
|
#- target_framework: net47
|
|
# is_32bit: False
|
|
#- target_framework: net47
|
|
# is_32bit: True
|
|
|
|
install:
|
|
- ps: |
|
|
if ($env:target_framework -eq "mono") {
|
|
if ($env:is_32bit -eq "True") {
|
|
cinst mono --x86
|
|
} else {
|
|
cinst mono
|
|
}
|
|
}
|
|
|
|
before_build:
|
|
- git submodule -q update --init
|
|
- cmd: dotnet --info
|
|
|
|
build_script:
|
|
- cmd: build.cmd
|
|
|
|
test_script:
|
|
- ps: .\run-tests.ps1 $env:target_framework $env:is_32bit
|
|
|
|
after_test:
|
|
- cmd: appveyor PushArtifact "artifacts\SixLabors.ImageSharp.%APPVEYOR_BUILD_VERSION%.nupkg"
|
|
# deploy:
|
|
# # MyGet Deployment for builds & releases
|
|
# - provider: NuGet
|
|
# server: https://www.myget.org/F/sixlabors/api/v2/package
|
|
# symbol_server: https://www.myget.org/F/sixlabors/symbols/api/v2/package
|
|
# api_key:
|
|
# secure: V/lEHP0UeMWIpWd0fiNlY2IgbCnJKQlGdRksECdJbOBdaE20Fl0RNL7WyqHe02o4
|
|
# artifact: /.*\.nupkg/
|
|
# on:
|
|
# branch: master
|
|
|