Add azure build job that installs by spec

This commit is contained in:
David Dalcino
2021-09-07 14:47:54 -07:00
parent 65293b82ee
commit 8251a0628f
2 changed files with 15 additions and 1 deletions

View File

@@ -148,6 +148,16 @@ windows_build_jobs.extend(
module="qtcharts qtnetworkauth",
mirror=random.choice(MIRRORS),
),
BuildJob(
"install-qt",
"5.14.2",
"windows",
"desktop",
"win64_msvc2017_64",
"msvc2017_64",
spec=">1,<5.15", # Don't redirect output! Must be wrapped in quotes!
mirror=random.choice(MIRRORS),
),
]
)

View File

@@ -35,7 +35,11 @@ steps:
if [[ "$(SUBARCHIVES)" != "" ]]; then
opt+=" --archives $(SUBARCHIVES)"
fi
python -m aqt install-qt $(HOST) $(TARGET) $(QT_VERSION) $(ARCH) $opt
if [[ "$(SPEC)" == "" ]]; then
python -m aqt install-qt $(HOST) $(TARGET) $(QT_VERSION) $(ARCH) $opt
else
python -m aqt install-qt $(HOST) $(TARGET) "$(SPEC)" $(ARCH) $opt
fi
if [[ "$(TARGET)" == "android" || "$(TARGET)" == "ios" ]]; then
if [[ "$(HOST)" == "windows" ]]; then
python -m aqt install-qt $(HOST) desktop $(QT_VERSION) mingw81_64 --archives qtbase