Update: doc build
This commit is contained in:
Родитель
e860e5a339
Коммит
ff7ea8a665
15
appveyor.yml
15
appveyor.yml
|
@ -1,7 +1,10 @@
|
||||||
version: 1.0.0.{build}
|
version: 1.0.0.{build}
|
||||||
image: Visual Studio 2017
|
image: Visual Studio 2017
|
||||||
|
|
||||||
# prevent the double build when a branch has an active PR
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
skip_branch_with_pr: true
|
skip_branch_with_pr: true
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
@ -12,19 +15,14 @@ environment:
|
||||||
matrix:
|
matrix:
|
||||||
- target_framework: netcoreapp2.1
|
- target_framework: netcoreapp2.1
|
||||||
is_32bit: False
|
is_32bit: False
|
||||||
|
|
||||||
- target_framework: netcoreapp2.1
|
- target_framework: netcoreapp2.1
|
||||||
is_32bit: True
|
is_32bit: True
|
||||||
|
|
||||||
- target_framework: net472
|
- target_framework: net472
|
||||||
is_32bit: False
|
is_32bit: False
|
||||||
|
|
||||||
- target_framework: net472
|
- target_framework: net472
|
||||||
is_32bit: True
|
is_32bit: True
|
||||||
|
|
||||||
- target_framework: net462
|
- target_framework: net462
|
||||||
is_32bit: False
|
is_32bit: False
|
||||||
|
|
||||||
- target_framework: net462
|
- target_framework: net462
|
||||||
is_32bit: True
|
is_32bit: True
|
||||||
|
|
||||||
|
@ -45,8 +43,6 @@ before_build:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- ps: .\build.ps1
|
- ps: .\build.ps1
|
||||||
|
|
||||||
# test_script:
|
|
||||||
- ps: .\run-tests.ps1 $env:target_framework $env:is_32bit
|
- ps: .\run-tests.ps1 $env:target_framework $env:is_32bit
|
||||||
|
|
||||||
after_test:
|
after_test:
|
||||||
|
@ -54,8 +50,9 @@ after_test:
|
||||||
- cmd: appveyor PushArtifact "artifacts\EquinoxLabs.SVGSharpie.ImageSharp.%APPVEYOR_BUILD_VERSION%.nupkg"
|
- cmd: appveyor PushArtifact "artifacts\EquinoxLabs.SVGSharpie.ImageSharp.%APPVEYOR_BUILD_VERSION%.nupkg"
|
||||||
|
|
||||||
deploy_script:
|
deploy_script:
|
||||||
|
- ps: .\run-docs.ps1
|
||||||
- git config --global credential.helper store
|
- git config --global credential.helper store
|
||||||
- ps: Add-Content "equinox2k.git-credentials" "https://$($env:github_access_token):x-oauth-basic@github.com`n"
|
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):x-oauth-basic@github.com`n"
|
||||||
- git config --global user.email %github_email%
|
- git config --global user.email %github_email%
|
||||||
- git config --global user.name "equinox2k"
|
- git config --global user.name "equinox2k"
|
||||||
- bash release-docs.sh
|
- bash release-docs.sh
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
export VSINSTALLDIR="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"
|
||||||
|
export VisualStudioVersion="15.0"
|
||||||
|
|
||||||
docfx ./docs/docfx.json
|
docfx ./docs/docfx.json
|
||||||
|
|
||||||
SOURCE_DIR=$PWD
|
SOURCE_DIR=$PWD
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Write-Host "Hello World:"
|
Загрузка…
Ссылка в новой задаче