Add basic tests of aqt list to azure pipeline

This commit is contained in:
David Dalcino
2021-05-23 16:03:24 -07:00
parent 3e54232e25
commit dd41e65358
2 changed files with 23 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ jobs:
variables:
PYTHON_VERSION: '3.8'
QT_VERSION: 6.1.0
QT_MAJOR: qt6 # I think this should be calculated from QT_VERSION
QT_MINOR: 1 # Just an arbitrary number for `aqt list` command
HOST: linux
TARGET: desktop
ARCH: gcc_64
@@ -78,6 +80,8 @@ jobs:
variables:
PYTHON_VERSION: '3.8'
QT_VERSION: 5.15.0
QT_MAJOR: qt5
QT_MINOR: 15
HOST: linux
TARGET: desktop
ARCH: gcc_64
@@ -93,6 +97,8 @@ jobs:
variables:
PYTHON_VERSION: '3.8'
QT_VERSION: 6.1.0
QT_MAJOR: qt6
QT_MINOR: 0
HOST: linux
TARGET: desktop
TOOL_NAME: src
@@ -107,6 +113,8 @@ jobs:
variables:
PYTHON_VERSION: '3.8'
QT_VERSION: 5.15.0
QT_MAJOR: qt5
QT_MINOR: 14
HOST: linux
TARGET: desktop
TOOL_NAME: examples
@@ -120,6 +128,8 @@ jobs:
variables:
PYTHON_VERSION: '3.8'
QT_VERSION: 5.15.0
QT_MAJOR: qt5
QT_MINOR: 13
HOST: linux
TARGET: desktop
TOOL_NAME: doc

View File

@@ -263,3 +263,16 @@ steps:
condition: and(eq( variables['ARCH'], 'wasm_32' ), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'Darwin')))
displayName: 'Build WebAssembler sample project'
##----------------------------------------------------
# aqt list
- script: |
aqt list $(QT_MAJOR) $(HOST) # print all targets for host
aqt list tools $(HOST) $(TARGET) # print all tools for host/target
aqt list $(QT_MAJOR) $(HOST) $(TARGET) # print all versions of Qt
aqt list $(QT_MAJOR) $(HOST) $(TARGET) --extension wasm # print all wasm versions of Qt
aqt list $(QT_MAJOR) $(HOST) $(TARGET) --filter-minor $(QT_MINOR) # print all versions of Qt major/minor
aqt list $(QT_MAJOR) $(HOST) $(TARGET) --filter-minor $(QT_MINOR) --latest-version # print latest Qt major/minor
aqt list $(QT_MAJOR) $(HOST) $(TARGET) --filter-minor $(QT_MINOR) --latest-modules # print modules for latest major/minor
aqt list $(QT_MAJOR) $(HOST) $(TARGET) --modules $(QT_VERSION) # print modules for version/host/target
aqt list $(QT_MAJOR) $(HOST) $(TARGET) --extensions $(QT_VERSION) # print choices for --extension flag
aqt list $(QT_MAJOR) $(HOST) $(TARGET) --arch $(QT_VERSION) # print architectures for version/host/target