-
Notifications
You must be signed in to change notification settings - Fork 32
Azure Pipelines CI
Guillaume Piolat edited this page Sep 23, 2019
·
10 revisions
This is step-by-step guide on how to setup Azure Pipelines Continuous Integration for building Dplug-based plugins.
- Add an
azure-pipelines.yml
to your repository. Commit and push. Follow the template below to fill it. - Register Azure DevOps account here.
- Click
New project
in the Azure DevOps dashboard. Optionally make project public if you want people to access the builds. - Here is a good time to add
aeffect.h
andaeffectx.h
as secure files. See below.. - Click
Pipelines
in the left panel and clickCreate Pipeline
. - Select one the options for source repositery (such as
Github (YAML)
orBitbucket (YAML)
and fill the repositery information. - Press
Confirm password
and thenApprove and Install
to give Azure Pipelines access to your repository. - Click
Starter pipeline
to create new file in your repository. UI will prompt you to commit it to your repository as the last step. This will create and commitazure-pipelines.yml
file in the root of the repository. Alternatively selectExisting Azure Pipelines YAML file
and choose already committed file in your repository. This way you can choose the filename and path. - To access build artifacts click the build and the
Artifacts
column on the right - Press
Save and Run
to finish the setup.
You can take inspiration from the Dplug Azure configuration file: https://github.com/AuburnSounds/Dplug/blob/master/azure-pipelines.yml
In order to build VST2 plugins you need to have aeffect.h
and aeffectx.h
headers in VST2_SDK\pluginterfaces\vst2.x
directory during the build, with VST2_SDK
environment variable pointing to directory containing pluginterfaces
directory.
If your repository is private you may include those files directly in your repository. But for public repository you want to them to be hidden. For this you can use secure files feature:
- Go to your project on Azure DevOps
- Open
Pipelines
- Click
Library
- Click
Secure files
- Add
aeffect.h
andaeffectx.h
files - In Pipeline permissions, check the "Authorize for use in all pipelines"
- Uncomment
download of secure files
tasks in theazure-pipelines.yml
file - On first run notification will pop up, you need to grant pipeline the access to secure files