This commit is contained in:
Jerome Laban 2020-09-25 13:29:12 -04:00
Родитель 0d9279b197
Коммит 6f736aff31
7 изменённых файлов: 56 добавлений и 134 удалений

Просмотреть файл

@ -8,51 +8,29 @@ jobs:
variables:
NUGET_PACKAGES: $(build.sourcesdirectory)/.nuget
VersionCodeOffset: 400559 # last value for the APK release
EMSDK_VERSION: 1.39.18
EMSDK_VERSION: 1.40.0
steps:
- checkout: self
clean: true
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.2.x'
inputs:
packageType: runtime
version: 2.2.x
installationPath: '$(DotnetRuntimePath)'
- task: nventiveCanaryUpdater@5
displayName: 'Canary Update'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
inputs:
solution: src/Calculator.sln
branchToMerge: uno
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
resultFile: '$(Build.ArtifactStagingDirectory)/result.json'
nugetUpdaterVersion: 2.1.1
packageAuthor: nventive
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.1.0'
inputs:
packageType: runtime
version: 2.1.0
- task: GitVersion@5
inputs:
useConfigFile: true
configFilePath: gitversion.yml
- template: build/uno-ci/canary-updater.yml
- template: build/uno-ci/gitversion.yml
- task: UseDotNet@2
displayName: 'Use .NET Core sdk'
inputs:
packageType: sdk
version: 3.1.201
- bash: |
cd ~
git clone --branch $(EMSDK_VERSION) https://github.com/emscripten-core/emsdk
cd emsdk
./emsdk install $(EMSDK_VERSION)
./emsdk activate $(EMSDK_VERSION)
- task: GitVersion@5
inputs:
useConfigFile: true
configFilePath: gitversion.yml
displayName: 'Setup Emscripten'
- script: |
source ~/emsdk/emsdk_env.sh

Просмотреть файл

@ -75,29 +75,8 @@ jobs:
displayName: 'Copy CalcManager to final location'
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.2.x'
inputs:
packageType: runtime
version: 2.2.x
- task: nventiveCanaryUpdater@5
displayName: 'Canary Update'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
inputs:
solution: src/Calculator.sln
branchToMerge: uno
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
resultFile: '$(Build.ArtifactStagingDirectory)/result.json'
nugetUpdaterVersion: 2.0.6
packageAuthor: nventive
- task: UseGitVersion@5
inputs:
versionSpec: '5.x'
updateAssemblyInfo: 'False'
useConfigFile: true
configFilePath: gitversion.yml
- template: build/uno-ci/canary-updater.yml
- template: build/uno-ci/gitversion.yml
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 5.0.100-rc.1.20452.10'

Просмотреть файл

@ -14,27 +14,8 @@ jobs:
clean: all
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.2.0'
inputs:
packageType: runtime
version: 2.2.0
- task: nventiveCanaryUpdater@5
displayName: 'Canary Update'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
inputs:
solution: src/Calculator.sln
branchToMerge: uno
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
resultFile: '$(Build.ArtifactStagingDirectory)/result.json'
nugetUpdaterVersion: 2.1.1
packageAuthor: nventive
- task: GitVersion@5
inputs:
useConfigFile: true
configFilePath: gitversion.yml
- template: build/uno-ci/canary-updater.yml
- template: build/uno-ci/gitversion.yml
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 3.1.x'

Просмотреть файл

@ -18,38 +18,9 @@ jobs:
clean: all
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.2.0'
inputs:
packageType: runtime
version: 2.2.0
- task: nventiveCanaryUpdater@5
displayName: 'Canary Update'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
inputs:
solution: src/Calculator.sln
branchToMerge: uno
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
resultFile: '$(Build.ArtifactStagingDirectory)/result.json'
nugetUpdaterVersion: 2.1.1
packageAuthor: nventive
#- bash: /bin/bash -c "sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1"
# displayName: Select Xamarin Version
- bash: |
shopt -s nullglob
function join_by { local IFS="$1"; shift; echo "$*"; }
lib_path=$(join_by ';' $(Agent.WorkFolder)/_tasks/GitVersion*/4.0.*/lib/osx)
echo LD_LIBRARY_PATH: $lib_path
echo "##vso[task.setvariable variable=LD_LIBRARY_PATH]$lib_path"
displayName: Update LD_LIBRARY_PATH for GitVersion
- task: GitVersion@5
inputs:
useConfigFile: true
configFilePath: gitversion.yml
- template: build/uno-ci/canary-updater.yml
- template: build/uno-ci/gitversion.yml
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 3.1.201'

Просмотреть файл

@ -16,33 +16,9 @@ jobs:
clean: all
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.2.0'
inputs:
packageType: runtime
version: 2.2.0
- task: nventiveCanaryUpdater@5
displayName: 'Canary Update'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
inputs:
solution: src/Calculator.sln
branchToMerge: uno
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
resultFile: '$(Build.ArtifactStagingDirectory)/result.json'
nugetUpdaterVersion: 2.1.1
packageAuthor: nventive
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.1.0'
inputs:
packageType: runtime
version: 2.1.0
- task: UseGitVersion@5
inputs:
versionSpec: '5.x'
configFilePath: gitversion.yml
- template: build/uno-ci/canary-updater.yml
- template: build/uno-ci/gitversion.yml
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 3.1.6'

Просмотреть файл

@ -0,0 +1,19 @@
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.2.x'
inputs:
packageType: runtime
version: 2.2.x
- task: nventiveCanaryUpdater@5
displayName: 'Canary Update'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
inputs:
solution: src/Calculator.sln
branchToMerge: uno
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
resultFile: '$(Build.ArtifactStagingDirectory)/result.json'
nugetUpdaterVersion: 2.0.6
packageAuthor: nventive

Просмотреть файл

@ -0,0 +1,18 @@
steps:
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 3.1.x'
inputs:
packageType: runtime
version: 3.1.3
- task: gitversion/setup@0
inputs:
versionSpec: '5.x'
- task: gitversion/execute@0
inputs:
updateAssemblyInfo: 'False'
useConfigFile: true
configFilePath: gitversion.yml
displayName: Use GitVersion