mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Try to calculate the build number only once
This commit is contained in:
parent
6d44e30737
commit
386ca2d82b
@ -10,10 +10,10 @@ parameters:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: ${{ parameters.name }}
|
- job: ${{ parameters.name }}
|
||||||
|
dependsOn: Initialization
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'vs2017-win2016'
|
vmImage: 'vs2017-win2016'
|
||||||
steps:
|
steps:
|
||||||
- template: azure-pipelines-build-number.yml
|
|
||||||
- script: |
|
- script: |
|
||||||
pip install aqtinstall
|
pip install aqtinstall
|
||||||
mkdir C:\Qt
|
mkdir C:\Qt
|
||||||
|
@ -5,11 +5,15 @@ trigger:
|
|||||||
- develop
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
- job: Initialization
|
||||||
|
pool: Default
|
||||||
|
steps:
|
||||||
|
- template: azure-pipelines-build-number.yml
|
||||||
- job: Linux
|
- job: Linux
|
||||||
|
dependsOn: Initialization
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
steps:
|
steps:
|
||||||
- template: azure-pipelines-build-number.yml
|
|
||||||
- script: |
|
- script: |
|
||||||
sudo add-apt-repository 'deb http://download.opensuse.org/repositories/home:/selmf/xUbuntu_16.04/ /'
|
sudo add-apt-repository 'deb http://download.opensuse.org/repositories/home:/selmf/xUbuntu_16.04/ /'
|
||||||
sudo add-apt-repository ppa:kubuntu-ppa/backports
|
sudo add-apt-repository ppa:kubuntu-ppa/backports
|
||||||
@ -40,12 +44,12 @@ jobs:
|
|||||||
path: $(Build.ArtifactStagingDirectory)
|
path: $(Build.ArtifactStagingDirectory)
|
||||||
artifactName: src $(Build.BuildNumber) tarball
|
artifactName: src $(Build.BuildNumber) tarball
|
||||||
- job: MacOS
|
- job: MacOS
|
||||||
|
dependsOn: Initialization
|
||||||
variables:
|
variables:
|
||||||
- group: macos-codesign
|
- group: macos-codesign
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'macOS-10.14'
|
vmImage: 'macOS-10.14'
|
||||||
steps:
|
steps:
|
||||||
- template: azure-pipelines-build-number.yml
|
|
||||||
- script: |
|
- script: |
|
||||||
brew install qt
|
brew install qt
|
||||||
brew link qt --force
|
brew link qt --force
|
||||||
@ -112,7 +116,6 @@ jobs:
|
|||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
steps:
|
steps:
|
||||||
- template: azure-pipelines-build-number.yml
|
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
inputs:
|
inputs:
|
||||||
buildType: 'current'
|
buildType: 'current'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user