Skip to content

Add Windows and Linux build support via GitHub Actions#2

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-github-actions-for-builds
Draft

Add Windows and Linux build support via GitHub Actions#2
Copilot wants to merge 4 commits intomainfrom
copilot/add-github-actions-for-builds

Conversation

Copy link
Contributor

Copilot AI commented Feb 7, 2026

Plugin was macOS-only due to platform-specific HTTP client implementation (NSURLSession). JUCE supports VST3 on all platforms.

Changes

Platform-specific HTTP clients

  • SunoClientWin.cpp — WinHTTP API implementation
  • SunoClientLinux.cpp — libcurl implementation
  • Existing SunoClientMac.mm unchanged

Build system (plugin/CMakeLists.txt)

  • Removed if(NOT APPLE) return() guard
  • Conditional library linking: Foundation/Security (macOS), winhttp (Windows), libcurl (Linux)
  • Platform-specific formats: AU+VST3 (macOS), VST3 (Windows/Linux)

CI/CD (.github/workflows/build-and-release.yml)

  • build-windows job: VS 2022, x64, VST3 zip artifact
  • build-linux job: Ubuntu with dependencies (libcurl, ALSA, X11), VST3 tarball
  • build-macos job: unchanged

Documentation

  • Updated README with platform support and build instructions

Implementation Notes

All HTTP client implementations share the same interface from SunoClient.hpp. Each uses platform-native APIs for optimal compatibility and minimal dependencies. Linux implementation includes note about curl_global_init threading considerations for plugin architecture.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 7, 2026 14:02
… implementations

Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
…, add curl threading note

Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Actions for building plugin releases Add Windows and Linux build support via GitHub Actions Feb 7, 2026
Copilot AI requested a review from lmangani February 7, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants