Skip to content

Add a Consolidated JUCE plugin side by side with Rack (#30) #11

Add a Consolidated JUCE plugin side by side with Rack (#30)

Add a Consolidated JUCE plugin side by side with Rack (#30) #11

name: Build DAW Plugin
on:
push:
branches:
- main
- 'releases/**'
tags:
- 'v**'
pull_request:
workflow_dispatch:
workflow_run:
workflows: ["Update"]
types:
- completed
defaults:
run:
shell: bash
jobs:
build_plugin:
name: DAW Build - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
- os: macos-latest
- os: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Linux Deps; pick GCC9
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt install libasound2-dev libx11-dev libxcomposite-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev libfreetype6-dev libglu1-mesa-dev libjack-jackd2-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 12
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12
- name: Build project
run: |
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DBUILD_JUCE_PLUGIN=TRUE
cmake --build ./build --config Release --target awcons-installer
- name: Show Build Directory
run: |
ls -l ./build
- name: Show Installer Directory
run: |
ls -l ./build/installer
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: build/installer
name: dawplugin-${{ matrix.os }}