Azure: build project with jom on windows
@@ -158,6 +158,9 @@ steps:
} else {
Write-Host '##vso[task.setvariable variable=VSVER]2015'
}
+ cd $(Build.BinariesDirectory)\Qt\$(QT_VERSION)\$(ARCHDIR)\bin
+ Invoke-WebRequest -Uri https://download.qt.io/official_releases/jom/jom.zip
+ unzip jom.zip
condition: eq( variables['Agent.OS'], 'Windows_NT')
displayName: Detect toolchain for Windows and update PATH
- script: |
@@ -176,7 +179,7 @@ steps:
7z x $(Build.SourcesDirectory)\ci\helloworld.7z
cd ..
qmake $(Build.BinariesDirectory)\tests\helloworld
- nmake
+ jom
condition: and(eq( variables['Agent.OS'], 'Windows_NT'), eq(variables['TOOLCHAIN'], 'MSVC'), eq(variables['MODULE'], ''), ne(variables['VSVER'], '2019'))
displayName: build test with qmake with MSVC w/o extra module
- powershell: |
