diff options
| author | 2019-07-18 01:31:43 -0400 | |
|---|---|---|
| committer | 2019-07-18 01:31:43 -0400 | |
| commit | a916009d4b29995ea8ad61ad47a51c2ee1fa80bc (patch) | |
| tree | f53f459caa6868bda7c3f6dae0d8f30f19325af3 /azure-pipelines | |
| parent | 68a36b3b67ec82cdd3f77e88e40d1043cbab5000 (diff) | |
New upstream version 2.3.0+dfsgupstream/2.3.0+dfsg
Diffstat (limited to 'azure-pipelines')
| -rw-r--r-- | azure-pipelines/build_env_tmpl.bat | 6 | ||||
| -rw-r--r-- | azure-pipelines/download_install_bonjour_sdk_like.ps1 | 12 | ||||
| -rw-r--r-- | azure-pipelines/download_install_qt.ps1 | 26 |
3 files changed, 44 insertions, 0 deletions
diff --git a/azure-pipelines/build_env_tmpl.bat b/azure-pipelines/build_env_tmpl.bat new file mode 100644 index 0000000..eefa014 --- /dev/null +++ b/azure-pipelines/build_env_tmpl.bat @@ -0,0 +1,6 @@ +set B_BUILD_TYPE=%CI_ENV_BUILD_TYPE% +set B_QT_ROOT=%cd%\deps\Qt +set B_QT_VER=Qt5.12.3\5.12.3 +set B_QT_MSVC=msvc2017_64 +set B_BONJOUR=%cd%\deps\BonjourSDKLike + diff --git a/azure-pipelines/download_install_bonjour_sdk_like.ps1 b/azure-pipelines/download_install_bonjour_sdk_like.ps1 new file mode 100644 index 0000000..97bfa83 --- /dev/null +++ b/azure-pipelines/download_install_bonjour_sdk_like.ps1 @@ -0,0 +1,12 @@ +$ErrorActionPreference = "Stop" + +New-Item -Force -ItemType Directory -Path ".\deps\" +$Wc = New-Object System.Net.WebClient +$Wc.DownloadFile('https://github.com/nelsonjchen/mDNSResponder/releases/download/v2019.05.08.1/x64_RelWithDebInfo.zip', 'deps\BonjourSDKLike.zip') ; +Write-Output 'Downloaded BonjourSDKLike Zip' +Write-Output 'Unzipping BonjourSDKLike Zip' +Remove-Item -Recurse -Force -ErrorAction Ignore .\deps\BonjourSDKLike +Expand-Archive .\deps\BonjourSDKLike.zip -DestinationPath .\deps\BonjourSDKLike +Write-Output 'Installed BonjourSDKLike Zip' +Remove-Item deps\BonjourSDKLike.zip +Write-Output 'Deleted BonjourSDKLike Zip' diff --git a/azure-pipelines/download_install_qt.ps1 b/azure-pipelines/download_install_qt.ps1 new file mode 100644 index 0000000..7edefbf --- /dev/null +++ b/azure-pipelines/download_install_qt.ps1 @@ -0,0 +1,26 @@ +$ErrorActionPreference = "Stop" + +$qli_install_version = '2019.05.26.1' +$qt_version = '5.12.3' + +New-Item -Force -ItemType Directory -Path ".\deps\" + +Write-Output 'Downloading QLI Installer' +$Wc = New-Object System.Net.WebClient +$Wc.DownloadFile("https://github.com/nelsonjchen/qli-installer/archive/v$qli_install_version.zip", '.\deps\qli-installer.zip') ; +Write-Output 'Downloaded QLI Installer' + +Write-Output 'Extracting QLI Installer' +Expand-Archive deps\qli-installer.zip deps\ +Move-Item .\deps\qli-installer-$qli_install_version\ .\deps\qli-installer +Write-Output 'Extracted QLI Installer' + +Write-Output 'Installing QLI Installer Dependencies' +pip install -r .\deps\qli-installer\requirements.txt +Write-Output 'Installed QLI Installer Dependencies' + +Write-Output 'Starting QT Installer' +$Env:QLI_OUT_DIR = ".\deps\Qt\Qt$qt_version" +$Env:QLI_BASE_URL = "http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/" +python .\deps\qli-installer\qli-installer.py $qt_version windows desktop win64_msvc2017_64 +Write-Output 'Installed QT Installer' |
