And set up tagging and GitHub releases. That'll be all for the Azure Pipelines configuration; now we just need the AppVeyor configuration.

This commit is contained in:
Pietro Gagliardi 2019-04-07 17:47:30 -04:00
parent 102693e1be
commit 69bfbbf19c
4 changed files with 22 additions and 16 deletions

View File

@ -1,10 +0,0 @@
deploy:
provider: releases
api_key:
secure: "fmgC97mlXQY/ASWAL/GyTJfiJIo/hsVFf6bP3Zz8odv259PJUFGgnZ9kNIgJcFQ5961lXDFi7pBMMSetm1GZ2EBZxIXnUfe1kfIhw62ybJHIwB2+g2tc8A4zzfkWJVY4xVYpitOU3iMuu5Z8U2n+68RYWKpcxhbkVw5v8Zu2Rms="
file: build/out/*.tgz
file_glob: true
skip_cleanup: true
on:
tags: true

View File

@ -1,5 +1,13 @@
# 31 march 2019
trigger:
branches:
include:
- '*'
tags:
include:
- '*'
variables:
releaseExamples: 'controlgallery cpp-multithread datetime drawtext histogram tester timer'

View File

@ -17,7 +17,11 @@ steps:
rm ui.h ${{ parameters.osHeader }}
popd
displayName: 'Create Artifacts'
- task: PublishBuildArtifacts@1
- task: GitHubRelease@0
inputs:
pathToPublish: $(Build.ArtifactStagingDirectory)
artifactName: ${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.libtype }}
gitHubConnection: andlabs
repositoryName: andlabs/libui
action: 'edit'
addChangelog: false
assets: '$(Build.ArtifactStagingDirectory)/*'
assetUploadMode: 'replace'

View File

@ -17,7 +17,11 @@ steps:
Remove-Item @("ui.h","${{ parameters.osHeader }}")
popd
displayName: 'Create Artifacts'
- task: PublishBuildArtifacts@1
- task: GitHubRelease@0
inputs:
pathToPublish: $(Build.ArtifactStagingDirectory)
artifactName: ${{ parameters.os }}-${{ parameters.arch }}-${{ parameters.toolchain }}-${{ parameters.libtype }}
gitHubConnection: andlabs
repositoryName: andlabs/libui
action: 'edit'
addChangelog: false
assets: '$(Build.ArtifactStagingDirectory)/*'
assetUploadMode: 'replace'