CI: azure: fix conditions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2020-11-22 12:31:08 +09:00
parent efe2501cb4
commit 6a8f5cee21
2 changed files with 4 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ jobs:
HOST: linux
TARGET: desktop
TOOL_NAME: src
SUBARCHIVES: qtdoc
SUBARCHIVES: qt
pool:
vmImage: 'ubuntu-18.04'
steps:
@@ -123,6 +123,7 @@ jobs:
HOST: linux
TARGET: desktop
TOOL_NAME: doc
SUBARCHIVES: qtdoc
pool:
vmImage: 'ubuntu-18.04'
steps:

View File

@@ -68,7 +68,7 @@ steps:
workingDirectory: $(Build.BinariesDirectory)
env:
AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini
condition: ne(variables['SUBARCHIVES'], '')
condition: and(ne(variables['SUBARCHIVES'], ''), eq(variables['TOOL_NAME'], '']
displayName: Run Aqt (sub arhives option)
- bash: |
number=$RANDOM
@@ -76,7 +76,7 @@ steps:
sleep $number
mkdir Qt
cd Qt
python -m aqt src $(QT_VERSION) $(HOST) $(TARGET)
python -m aqt src $(QT_VERSION) $(HOST) $(TARGET) --archives $(SUBARCHIVES)
workingDirectory: $(Build.BinariesDirectory)
env:
AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini