mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
CI: azure: fix conditions
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user