mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
CI: add doc_src_examples test
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -87,3 +87,42 @@ jobs:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
steps:
|
||||
- template: ci/steps.yml
|
||||
|
||||
- job: LinuxSrc
|
||||
displayName: Linux (source)
|
||||
variables:
|
||||
PYTHON_VERSION: '3.7'
|
||||
QT_VERSION: 5.15.0
|
||||
HOST: linux
|
||||
TARGET: desktop
|
||||
TOOL_NAME: src
|
||||
pool:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
steps:
|
||||
- template: ci/steps.yml
|
||||
|
||||
- job: LinuxExamples
|
||||
displayName: Linux (Examples)
|
||||
variables:
|
||||
PYTHON_VERSION: '3.7'
|
||||
QT_VERSION: 5.15.0
|
||||
HOST: linux
|
||||
TARGET: desktop
|
||||
TOOL_NAME: examples
|
||||
pool:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
steps:
|
||||
- template: ci/steps.yml
|
||||
|
||||
- job: LinuxDoc
|
||||
displayName: Linux (doc)
|
||||
variables:
|
||||
PYTHON_VERSION: '3.7'
|
||||
QT_VERSION: 5.15.0
|
||||
HOST: linux
|
||||
TARGET: desktop
|
||||
TOOL_NAME: doc
|
||||
pool:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
steps:
|
||||
- template: ci/steps.yml
|
||||
|
||||
37
ci/steps.yml
37
ci/steps.yml
@@ -70,6 +70,42 @@ steps:
|
||||
AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini
|
||||
condition: ne(variables['SUBARCHIVES'], '')
|
||||
displayName: Run Aqt (sub arhives option)
|
||||
- bash: |
|
||||
number=$RANDOM
|
||||
let "number %= 30"
|
||||
sleep $number
|
||||
mkdir Qt
|
||||
cd Qt
|
||||
python -m aqt src $(QT_VERSION) $(HOST) $(TARGET)
|
||||
workingDirectory: $(Build.BinariesDirectory)
|
||||
env:
|
||||
AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini
|
||||
condition: eq(variables['TOOL_NAME'], 'src')
|
||||
displayName: Run Aqt (source)
|
||||
- bash: |
|
||||
number=$RANDOM
|
||||
let "number %= 30"
|
||||
sleep $number
|
||||
mkdir Qt
|
||||
cd Qt
|
||||
python -m aqt examples $(QT_VERSION) $(HOST) $(TARGET)
|
||||
workingDirectory: $(Build.BinariesDirectory)
|
||||
env:
|
||||
AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini
|
||||
condition: eq(variables['TOOL_NAME'], 'examples')
|
||||
displayName: Run Aqt (examples)
|
||||
- bash: |
|
||||
number=$RANDOM
|
||||
let "number %= 30"
|
||||
sleep $number
|
||||
mkdir Qt
|
||||
cd Qt
|
||||
python -m aqt doc $(QT_VERSION) $(HOST) $(TARGET)
|
||||
workingDirectory: $(Build.BinariesDirectory)
|
||||
env:
|
||||
AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini
|
||||
condition: eq(variables['TOOL_NAME'], 'doc')
|
||||
displayName: Run Aqt (doc)
|
||||
|
||||
# Test installation environments
|
||||
##----------------------------------------------------
|
||||
@@ -219,3 +255,4 @@ steps:
|
||||
workingDirectory: $(Build.BinariesDirectory)
|
||||
condition: and(eq( variables['ARCH'], 'wasm_32' ), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'Darwin')))
|
||||
displayName: 'Build WebAssembler sample project'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user