generated from obsproject/obs-plugintemplate
-
Notifications
You must be signed in to change notification settings - Fork 13
/
azure-pipelines.yml
37 lines (31 loc) · 888 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
variables:
macosSignAndNotarize: false
isReleaseMode: ${{ and(eq(variables['isReleaseMode'], true), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) }}
trigger:
branches:
include:
- master
tags:
include:
- '*'
jobs:
- job: 'Build_Linux'
pool:
vmImage: 'ubuntu-18.04'
variables:
BUILD_REASON: $(Build.Reason)
BRANCH_SHORT_NAME: $(Build.SourceBranchName)
BRANCH_FULL_NAME: $(Build.SourceBranch)
steps:
- checkout: self
submodules: true
- script: ./ci/linux/install-dependencies-ubuntu.sh
displayName: 'Install dependencies'
- script: ./ci/linux/build-ubuntu.sh
displayName: 'Build Plugin'
- script: ./ci/linux/package-ubuntu.sh
displayName: 'Package Plugin'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: './package'
artifactName: 'deb_build'