mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-16 20:27:05 +03:00
Test Mirror Functionality with specific job
This commit is contained in:
committed by
Hiroshi Miura
parent
fc7dc462ef
commit
4112c22a83
@@ -151,3 +151,17 @@ jobs:
|
||||
TARGET: android
|
||||
ARCH: android_armv7
|
||||
ARCHDIR: android_armv7
|
||||
- job: LinuxSpecificMirror
|
||||
displayName: Linux (Specific Mirror)
|
||||
variables:
|
||||
PYTHON_VERSION: '3.7'
|
||||
QT_VERSION: 5.13.0
|
||||
HOST: linux
|
||||
TARGET: android
|
||||
ARCH: android_armv7
|
||||
ARCHDIR: android_armv7
|
||||
QT_BASE_MIRROR: http://mirrors.ocf.berkeley.edu/qt/
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
steps:
|
||||
- template: ci/steps.yml
|
||||
|
||||
@@ -19,3 +19,17 @@ jobs:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
steps:
|
||||
- template: ci/steps.yml
|
||||
- job: LinuxSpecificMirror
|
||||
displayName: Linux (Specific Mirror)
|
||||
variables:
|
||||
PYTHON_VERSION: '3.7'
|
||||
QT_VERSION: 5.13.0
|
||||
HOST: linux
|
||||
TARGET: android
|
||||
ARCH: android_armv7
|
||||
ARCHDIR: android_armv7
|
||||
QT_BASE_MIRROR: http://mirrors.ocf.berkeley.edu/qt/
|
||||
pool:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
steps:
|
||||
- template: ci/steps.yml
|
||||
|
||||
13
ci/steps.yml
13
ci/steps.yml
@@ -20,15 +20,22 @@ steps:
|
||||
$aqtVersion = & python $(Build.SourcesDirectory)/setup.py --version | Out-String -Stream
|
||||
pip install $(Build.SourcesDirectory)/dist/aqtinstall-$aqtVersion-py2.py3-none-any.whl
|
||||
displayName: install package
|
||||
#
|
||||
# Run Aqt
|
||||
- task: PythonScript@0
|
||||
inputs:
|
||||
scriptSource: filePath
|
||||
scriptPath: $(Build.SourcesDirectory)/bin/aqt
|
||||
arguments: install $(QT_VERSION) $(HOST) $(TARGET) $(ARCH)
|
||||
workingDirectory: $(Build.BinariesDirectory)
|
||||
displayName: Install Qt
|
||||
condition: not(variables['QT_BASE_MIRROR'])
|
||||
displayName: Run Aqt (No Base URL Set)
|
||||
- task: PythonScript@0
|
||||
inputs:
|
||||
scriptSource: filePath
|
||||
scriptPath: $(Build.SourcesDirectory)/bin/aqt
|
||||
arguments: install $(QT_VERSION) $(HOST) $(TARGET) $(ARCH) -b $(QT_BASE_MIRROR)
|
||||
workingDirectory: $(Build.BinariesDirectory)
|
||||
condition: variables['QT_BASE_MIRROR']
|
||||
displayName: Run Aqt (Base URL Set)
|
||||
#
|
||||
# Test installation results
|
||||
# for Android on linux
|
||||
|
||||
Reference in New Issue
Block a user