mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
This commit squashes some existing commits, all related to the Azure Pipeline CI builds. WHAT: 1. Use `windows-2019` image in CI 2. Switch Qt download mirror to `https` 3. Replace MSVC-2017 builds: MSVC-2017 is not present in `windows-2019` 4. Fix broken mingw builds WHY: As you can see in a recent Azure Pipelines build, the Windows Server 2016 image is now deprecated: https://dev.azure.com/miurahr/github/_build/results?buildId=4687&view=logs&j=c4497b2b-649a-591e-539b-0d716883e33e The newer `vmImage: 'windows-2022'` would work too, see https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml MINGW: The existing mingw builds were a little bit broken because the `Path` environment variable did not include the mingw toolchain installed with `aqt install-tool`, so the Chocolatey mingw was being used. This change fixes that by adding parameters to BuildJob that are specific to each mingw toolchain and fixing the code that sets the Path environment variable in Powershell.
60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
trigger:
|
|
branches:
|
|
include:
|
|
- releases/*
|
|
- refs/tags/v*
|
|
|
|
pr:
|
|
branches:
|
|
include:
|
|
- master
|
|
- releases/*
|
|
paths:
|
|
include:
|
|
- aqt/*
|
|
- ci/*
|
|
- azure-pipelines.yml
|
|
|
|
jobs:
|
|
- job: MatricesGenerator
|
|
displayName: Matrices Generator
|
|
pool:
|
|
vmImage: 'ubuntu-20.04'
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '3.8'
|
|
addToPath: true
|
|
- bash: python ci/generate_azure_pipelines_matrices.py
|
|
name: mtrx
|
|
displayName: Generate test matrices and set variables in Azure Pipelines
|
|
|
|
- job: Mac
|
|
dependsOn: MatricesGenerator
|
|
pool:
|
|
vmImage: 'macOS-10.14'
|
|
strategy:
|
|
matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.mac'] ]
|
|
steps:
|
|
- script: brew install p7zip
|
|
displayName: Install 7zip
|
|
- template: ci/steps.yml
|
|
|
|
- job: Windows
|
|
dependsOn: MatricesGenerator
|
|
pool:
|
|
vmImage: 'windows-2019'
|
|
strategy:
|
|
matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.windows'] ]
|
|
steps:
|
|
- template: ci/steps.yml
|
|
|
|
- job: Linux
|
|
dependsOn: MatricesGenerator
|
|
pool:
|
|
vmImage: 'ubuntu-20.04'
|
|
strategy:
|
|
matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.linux'] ]
|
|
steps:
|
|
- template: ci/steps.yml
|