forked from luca-piccioni/OpenGL.Net
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
86 lines (68 loc) · 2.32 KB
/
appveyor.yml
File metadata and controls
86 lines (68 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Appveyor configuration file
# Suggested by https://github.com/kf6kjg in https://github.com/luca-piccioni/OpenGL.Net/issues/44; great idea
init:
- ps: if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:TAG_VERSION = "$env:APPVEYOR_REPO_TAG_NAME" } else { $env:TAG_VERSION = "v0.5.0.$env:APPVEYOR_BUILD_NUMBER-alpha" }
- ps: $env:TAG_VERSION = $env:TAG_VERSION -replace 'v',''
- ps: Write-Host "Setting version to '$env:TAG_VERSION'"
- ps: Update-AppveyorBuild -Version "$env:TAG_VERSION"
image: Visual Studio 2015
pull_requests:
do_not_increment_build_number: true
clone_folder: c:\OpenGL.Net
matrix:
fast_finish: true
skip_commits:
message: /Update README.md/
cache:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
platform:
- Any CPU
configuration:
- Release
before_build:
- nuget restore OpenGL.Net_VC14.sln
- mkdir ANGLE
build:
parallel: true
project: OpenGL.Net_VC14.sln
verbosity: quiet # quiet|minimal|normal|detailed
publish_nuget: true
publish_nuget_symbols: false
# Happy to have a GL 1.1 software driver ^^
test:
assemblies: OpenGL.Net.Test\bin\**\Release\OpenGL.Net.Test.dll
categories:
only:
- GL_VERSION_1_0
- Math
- Framework_KhronosApi
- Framework_KhronosVersion
- Framework_RemovedByFeatureAttribute
- Framework_RequiredByFeatureAttribute
after_test:
- nuget pack OpenGL.Net.nuspec -Version %APPVEYOR_BUILD_VERSION%
- nuget pack OpenGL.Net.WinForms.nuspec -Version %APPVEYOR_BUILD_VERSION%
- nuget pack OpenGL.Net.Xamarin.Android.nuspec -Version %APPVEYOR_BUILD_VERSION%
- nuget pack OpenGL.Net.VideoCore.nuspec -Version %APPVEYOR_BUILD_VERSION%
- nuget pack OpenGL.Net.CoreProfile.nuspec -Version %APPVEYOR_BUILD_VERSION%
- nuget pack OpenGL.Net.ES2Profile.nuspec -Version %APPVEYOR_BUILD_VERSION%
# - nuget pack OpenGL.Net.Debug.nuspec -Version %APPVEYOR_BUILD_VERSION% -Symbol
artifacts:
- path: '*.nupkg'
deploy:
- provider: NuGet
name: nuget_release
api_key:
secure: SL+6WBe3MTUTSwbc6RplwQMK3ILPR2J4cHdImwFPymhNKKjPjoblM6W3PdEItXOs
skip_symbols: true
on:
appveyor_repo_tag: true
nuget:
disable_publish_on_pr: true