-
Notifications
You must be signed in to change notification settings - Fork 34
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.ymlto your repository. Commit and push. Follow the template below to fill it. - Register Azure DevOps account here.
- Click
New projectin the Azure DevOps dashboard. Optionally make project public if you want people to access the builds. - Here is a good time to add
aeffect.handaeffectx.has secure files. See below.. - Click
Pipelinesin 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 passwordand thenApprove and Installto give Azure Pipelines access to your repository. - Click
Starter pipelineto 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.ymlfile in the root of the repository. Alternatively selectExisting Azure Pipelines YAML fileand 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
Artifactscolumn on the right - Press
Save and Runto 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.handaeffectx.hfiles - In Pipeline permissions, check the "Authorize for use in all pipelines"
- Uncomment
download of secure filestasks in theazure-pipelines.ymlfile - On first run notification will pop up, you need to grant pipeline the access to secure files