diff --git a/azure-pipelines-windows-template.yml b/azure-pipelines-windows-template.yml index b7c4cfea..23d039d9 100644 --- a/azure-pipelines-windows-template.yml +++ b/azure-pipelines-windows-template.yml @@ -33,6 +33,11 @@ jobs: qmake CONFIG+="7zip" %DEFINES_VAR% nmake displayName: 'Build' + - script: | + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\${{ parameters.vc_vars }}" + set PATH=C:\Qt\${{ parameters.qt_version }}\${{ parameters.qt_spec }}\bin;%PATH% + nmake check TESTARGS="-maxwarnings 100000" + displayName: 'Run tests' - script: | set PATH=C:\Qt\${{ parameters.qt_version }}\${{ parameters.qt_spec }}\bin;%PATH% cd $(Build.SourcesDirectory)\ci\win diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ae26052a..4dbfa60d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -72,6 +72,9 @@ jobs: qmake CONFIG+="unarr" $DEFINES_VAR make displayName: 'Build' + - script: | + make check TESTARGS="-maxwarnings 100000" + displayName: 'Run tests' - task: CopyFiles@2 inputs: sourceFolder: $(Build.SourcesDirectory)/tarball @@ -118,6 +121,11 @@ jobs: SKIP_CODESIGN="$(tr [A-Z] [a-z] <<< "$IS_FORK")" ./compileOSX.sh $VERSION $(Build.BuildNumber) $SKIP_CODESIGN displayName: 'Build' + - script: | + cd $(Build.SourcesDirectory)/tests + qmake + make check TESTARGS="-maxwarnings 100000" + displayName: 'Build and run tests' - task: CopyFiles@2 inputs: contents: '*.dmg'