I am trying to set up Azure CI/CD pipelines, here is my current progress:
I followed the steps provided by Rory: Install Csound, install silently Cabbage, use CLIConverter to generate a VST.
The .yaml file is quite simple:
trigger:
- main
pool:
vmImage: 'windows-2019'
steps:
- powershell: Invoke-WebRequest -Uri 'https://github.com/rorywalsh/cabbage/releases/download/v2.9.0/Cabbage64Setup-2.9.0.exe' -OutFile '$(Pipeline.Workspace)/Cabbage64Setup-2.9.0.exe'
- script: |
pip install requests
python --version
python install_csound.py
- powershell: Start-Process -FilePath "$(Pipeline.Workspace)/Cabbage64Setup-2.9.0.exe" -ArgumentList '/silent' -Wait
- script: '"C:/Program Files/Cabbage/CLIConverter.exe" --export-VST="$(Build.SourcesDirectory)/clip.csd" --destination="clip.vst"'
For the Csound installation I am using what Rory is using for the Cabbage Pipeline:
import requests
import zipfile
shouldVerifyDownload = True
url = "https://github.com/rorywalsh/cabbage/releases/download/v2.0.00/csound-windows_x64-6.16.0.zip"
r = requests.get(url, allow_redirects=True, verify=shouldVerifyDownload)
open("csound-windows_x64-6.16.0.zip", "wb").write(r.content)
with zipfile.ZipFile("csound-windows_x64-6.16.0.zip", "r") as zip_ref:
zip_ref.extractall("C:/Program Files")
Everything is working until the CLIConverter command:
Starting: CmdLine
==============================================================================
Task : Command line
Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version : 2.231.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
Script contents: shell
"C:/Program Files/Cabbage/CLIConverter.exe" --export-VST="D:\a\1\s/clip.csd" --destination="clip.vst"
========================== Starting Command Output ===========================
"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\63b6b034-bb27-4335-998a-09598a1508b9.cmd""
##[error]Cmd.exe exited with code '-1073741515'.
Finishing: CmdLine
If someone knows what could be wrong, it could be very helpful! I’ll continue to work on it in the meantime…
Julien/nymano