-
-
Notifications
You must be signed in to change notification settings - Fork 638
/
appveyor.yml
108 lines (95 loc) · 3.53 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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Build configuration for Appveyor
# Many more options available, see docs:
# https://www.appveyor.com/docs/appveyor-yml/
os: Visual Studio 2022
version: "{branch}-{build}"
branches:
only:
- master
- beta
- rc
- /try-.*/
- /release-.*/
environment:
PY_PYTHON: 3.11-32
apiSigningToken:
secure: 8ARK3NZNRlz8VrhTbpTLP5GMnwbqlUN0DK4SYL4FUYSAAEgXUSB+MBcHHLa6JL9E
secure_ssh_pass:
secure: Iql/RhSathGacONacsyr6gis+rjL75UFZ/R+nPAJpo3asAzQSQQd8hfxq0iv8+Th
mozillaSymsAuthToken:
secure: p37Fxo78fsRdmR8v8TPz978QvVaqvbjdIBzFe8ZOpX0FUprm46rkhd374QM1CqMO
symstore: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\symstore.exe
crowdinProjectID: 598017
crowdinAuthToken:
secure: E3084gj4JeMZKvZIOLIhqZefuSo/tj7iYPt4yK0geOI/eQgmPvoXt37Xq0KwvXzvZiJny4AsMj1rKMTVxio8EG8KA0YsYYuy+WV1wpFRIn25zGQS+DZ/yycL75SmTWfr
scons_publisher: NV Access
# Comment out any of the feature_* variables to disable the respective build feature.
# They are checked for existence of content, not specific value.
feature_buildSymbols: configured
feature_uploadSymbolsToMozilla: configured
#feature_buildAppx: configured
feature_crowdinSync: configured
feature_signing: configured
# scripts that are called at very beginning, before repo cloning
init:
# set the init time for the build, used to calculate the time taken for each stage of the build.
- ps: |
"INIT, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
install:
- ps: |
"INSTALL_START, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
- ps: appveyor\scripts\setBuildVersionVars.ps1
- ps: appveyor\scripts\decryptFilesForSigning.ps1
- py -m pip install --upgrade --no-warn-script-location pip
- git submodule update --init
- ps: |
"INSTALL_END, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
build_script:
- ps: |
"BUILD_START, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
- ps: appveyor\scripts\setSconsArgs.ps1
- ps: Install-Module -Name SignPath -Force
- scons source %sconsArgs%
- scons %sconsOutTargets% %sconsArgs%
- ps: appveyor\scripts\buildSymbolStore.ps1
# The server expects the symbols archive to be structured as ./*.ex_ not ./symbols/*.ex_.
# Change directory to package, as 7z will structure the archive using the relative path.
- ps: >-
if ($env:feature_buildSymbols) {
cd symbols
7z a -tzip -r ..\output\symbols.zip *.dl_ *.ex_ *.pd_
cd ..
}
- ps: |
"BUILD_END, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
before_test:
- ps: |
"TESTSETUP_START, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
- ps: appveyor\scripts\tests\beforeTests.ps1
- ps: appveyor\scripts\installNVDA.ps1
- ps: |
"TESTSETUP_END, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
test_script:
- ps: |
"TEST_START, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
- ps: appveyor\scripts\tests\translationCheck.ps1
- ps: appveyor\scripts\tests\licenseCheck.ps1
- ps: appveyor\scripts\tests\unitTests.ps1
- ps: appveyor\scripts\tests\lintCheck.ps1
- ps: appveyor\scripts\tests\systemTests.ps1
- ps: |
"TEST_END, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
after_test:
- ps: appveyor\scripts\tests\checkTestFailure.ps1
artifacts:
- path: output\*
- path: output\*\*
deploy_script:
- ps: appveyor\scripts\deployScript.ps1
on_failure:
- ps: appveyor\scripts\uploadArtifacts.ps1
on_finish:
- ps: appveyor\scripts\pushPackagingInfo.ps1
- ps: |
"FINISH_END, $(Get-Date -Format 'o')"| Out-File ../timing.csv -Append
- ps: appveyor\scripts\logCiTiming.ps1