Skip to content

rsav-compile

rsav-compile #13

Workflow file for this run

name: rsav-compile
on: [workflow_dispatch]
# env:
# BUILD_TYPE: Release
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
steps:
# Use clang on Linux so we don't introduce a 3rd compiler (Windows and macOS use MSVC and Clang)
- name: Set up Clang
if: runner.os == 'Linux'
uses: egor-tensin/setup-clang@v1
# This also starts up our "fake" display (Xvfb), needed for pluginval
- name: Install JUCE's Linux Deps
if: runner.os == 'Linux'
# Official list of Linux deps: https://github.com/juce-framework/JUCE/blob/develop/docs/Linux%20Dependencies.md
run: |
sudo apt-get update && sudo apt install libasound2-dev libjack-jackd2-dev \
ladspa-sdk \
libcurl4-openssl-dev \
libfreetype-dev libfontconfig1-dev \
libx11-dev libxcomposite-dev libxcursor-dev libxext-dev libxinerama-dev libxrandr-dev libxrender-dev \
libwebkit2gtk-4.1-dev \
libglu1-mesa-dev mesa-common-dev
- name: "Preparation"
uses: actions/checkout@v2
- name: "(JUCE) Clone Repository"
uses: actions/checkout@v2
with:
repository: juce-framework/JUCE
path: ${{runner.workspace}}/RSAlgorithmicVerb/JUCE
- name: "Create Build Environment"
working-directory: ${{runner.workspace}}/RSAlgorithmicVerb
run: cmake -S . -B build
- name: "Build"
working-directory: ${{runner.workspace}}/RSAlgorithmicVerb
run: cmake --build build --config Release
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: "RSAlgorithmicVerb_${{ runner.os }}"
path: ${{runner.workspace}}/RSAlgorithmicVerb/build/RSAlgorithmicVerb_artefacts/