-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (38 loc) · 1.4 KB
/
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
46
image: WMF 5
version: 1.0.0 (Build {build})
environment:
CODE_SIGNING_CERTIFICATE_PASSWORD:
secure: +Dn/WhvBx1rVgenyg7x+Bg==
branches:
except:
- /^modules\/.*$/
install:
- cmd: GitVersion /output buildserver
- ps: .\install.ps1 -ErrorAction Stop -InformationAction Continue -Verbose
build_script:
- cmd: make
before_test:
- cmd: openssl pkcs12 -in sign/certificate/cert.pfx -passin pass:%CODE_SIGNING_CERTIFICATE_PASSWORD% -nokeys -out sign/certificate/cert.cer
- ps: Import-Certificate -FilePath 'sign/certificate/cert.cer' -CertStoreLocation 'Cert:\LocalMachine\TrustedPublisher' -Verbose
- cmd: openssl pkcs12 -in sign/certificate/cert.pfx -passin pass:%CODE_SIGNING_CERTIFICATE_PASSWORD% -nokeys -cacerts -out sign/certificate/CA.cer
- ps: Import-Certificate -FilePath 'sign/certificate/CA.cer' -CertStoreLocation 'Cert:\LocalMachine\AuthRoot' -Verbose
test_script:
- cmd: make test --keep-going
before_deploy:
- ps: >-
& GitReleaseNotes . /OutputFile ReleaseNotes.md;
${env:release_description} = ( Get-Content -LiteralPath ReleaseNotes.md -Encoding UTF8 ) -join "`n";
deploy:
- provider: Environment
name: GitHub-Releases
description: $(release_description)
artifact: package
on:
branch: master
#appveyor_repo_tag: true
- provider: Environment
name: Chocolatey
artifact: package
on:
branch: master
#appveyor_repo_tag: true