Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
coder3101 committed Dec 16, 2019
1 parent 9b2d342 commit 32cb573
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ steps:
- script: git submodule update --init --recursive
displayName: 'Fetch third party dependency'

- script: |
sudo add-apt-repository ppa:beineri/opt-qt-5.12.0-xenial -y
sudo apt-get update -qq
sudo apt-get -y install qt512base libgl1-mesa-dev qt512svg qt512imageformats
source /opt/qt*/bin/qt*-env.sh
- task: CMake@1
displayName: 'Generate make-files'
inputs:
Expand All @@ -29,3 +34,15 @@ steps:
export VERSION=$(git describe --abbrev=0)
./linuxdeployqt*.AppImage ./CPEditor -appimage
displayName: 'Package to AppImage'

- task: GitHubRelease@1
inputs:
gitHubConnection: cpeditor-azure
repositoryName: '$(Build.Repository.Name)'
action: 'edit'
target: '$(Build.SourceVersion)'
tag: '$(git describe --abbrev=0)'
title: 'CP Editor'
assets: '$(Build.SourceDirecectory)/*.AppImage'
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'

0 comments on commit 32cb573

Please sign in to comment.