mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Azure: run tests as a step of each platform's job
This commit is contained in:
parent
05b384ed6d
commit
d013abedc1
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user