mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 05:04:38 +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
|
TARGET: android
|
||||||
ARCH: android_armv7
|
ARCH: android_armv7
|
||||||
ARCHDIR: 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'
|
vmImage: 'ubuntu-16.04'
|
||||||
steps:
|
steps:
|
||||||
- template: ci/steps.yml
|
- 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
|
$aqtVersion = & python $(Build.SourcesDirectory)/setup.py --version | Out-String -Stream
|
||||||
pip install $(Build.SourcesDirectory)/dist/aqtinstall-$aqtVersion-py2.py3-none-any.whl
|
pip install $(Build.SourcesDirectory)/dist/aqtinstall-$aqtVersion-py2.py3-none-any.whl
|
||||||
displayName: install package
|
displayName: install package
|
||||||
#
|
|
||||||
# Run Aqt
|
|
||||||
- task: PythonScript@0
|
- task: PythonScript@0
|
||||||
inputs:
|
inputs:
|
||||||
scriptSource: filePath
|
scriptSource: filePath
|
||||||
scriptPath: $(Build.SourcesDirectory)/bin/aqt
|
scriptPath: $(Build.SourcesDirectory)/bin/aqt
|
||||||
arguments: install $(QT_VERSION) $(HOST) $(TARGET) $(ARCH)
|
arguments: install $(QT_VERSION) $(HOST) $(TARGET) $(ARCH)
|
||||||
workingDirectory: $(Build.BinariesDirectory)
|
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
|
# Test installation results
|
||||||
# for Android on linux
|
# for Android on linux
|
||||||
|
|||||||
Reference in New Issue
Block a user