Skip to content

Commit

Permalink
Set up CI with Azure Pipelines
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
coder3101 committed Dec 16, 2019
1 parent 95bbf34 commit b0bcb19
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

# specific tag
trigger:
tags:
include:
- '*'

pool:
vmImage: 'Ubuntu-16.04'

steps:
- script: git submodule update --init --recursive
displayName: 'Fetch third party dependency'

- script: mkdir build && cd build
displayName: 'Create build directory'

- script: cmake .. -DCMAKE_BUILD_TYPE=Release
displayName: 'Generate make files'

- script: make -j 8
displayName: 'Compilation started'


- script: |
mv ../icon.png . && mv ../default.desktop ..
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
chmod a+x linuxdeployqt*.AppImage
export VERSION=$(git describe --abbrev=0)
./linuxdeployqt*.AppImage ./CPEditor -appimage
displayName: 'Package to AppImage'

0 comments on commit b0bcb19

Please sign in to comment.