File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # Before read or modify this script, please check README.md
2+ # for understanding all build steps
3+ version : ' {branch}-{build}'
4+
5+
6+ build :
7+ verbosity : minimal
8+
9+
10+ environment :
11+ ShadowBuildDir : C:\projects\edge-firmware-updater\build_windows_install
12+ QtBinPath : C:\Qt\5.9\msvc2015\bin
13+ VisualStudio : " Microsoft Visual Studio 14.0"
14+
15+ matrix :
16+ - Build : ' Release'
17+ Config : release
18+ - Build : ' Debug'
19+ Config : debug
20+
21+
22+ install :
23+ # Set Visual Studio build environment
24+ - call "%ProgramFiles(x86)%\%VISUALSTUDIO%\VC\vcvarsall.bat" x86
25+ - ps : |
26+ # Set Path (Add Visual Studio and Qt)
27+ $Env:Path = "C:\Qt\Tools\QtCreator\bin;${Env:QtBinPath};${Env:Path}"
28+
29+
30+ build_script :
31+ # Get logical cores count
32+ - ps : |
33+ $Env:Cores = Get-WmiObject -class Win32_Processor | `
34+ Select-Object -ExpandProperty NumberOfLogicalProcessors
35+
36+ # Generate makefile
37+ - mkdir "%SHADOWBUILDDIR%"
38+ - cd "%SHADOWBUILDDIR%"
39+ - qmake "%APPVEYOR_BUILD_FOLDER%\devlib.pro" CONFIG+=%CONFIG%
40+
41+ # Build
42+ - jom -j%CORES%
You can’t perform that action at this time.
0 commit comments