-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathappveyor.yml
45 lines (35 loc) · 828 Bytes
/
appveyor.yml
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
version: 1.0.{build}
image:
- Visual Studio 2019
branches:
only:
- master
configuration: Release
platform:
- Win32
- x64
matrix:
fast_finish: true
build:
parallel: true
verbosity: minimal
after_build:
- ps: >-
7z a __dep.zip -r *.h
7z a __dep.zip -r *dlfcn.c
7z a __dep.zip -r *.lib
7z a __dep.zip -r *.dll
7z a __dep.zip -r *.pdb
test: off
deploy: off
artifacts:
- path: __dep.zip
on_success:
- ps: >-
$token = $env:API_TOKEN
$headers = @{ "Authorization" = "Bearer $token"}
$body = @{accountName = $env:API_NAME; projectSlug = "objectivelymvc"}
$bodyAsJson = $body | ConvertTo-json
if ($env:Platform -Match "x64") {
Invoke-Restmethod -uri 'https://ci.appveyor.com/api/builds' -Headers $headers -Method Post -Body $bodyAsjson -ContentType "application/json"
}