Skip to content

Add StackAllocator (#450) #356

Add StackAllocator (#450)

Add StackAllocator (#450) #356

Workflow file for this run

name: Build ARM Mac
on:
push:
branches:
- master
- "*simd*"
workflow_dispatch:
env:
WORK_DIR: ${{github.workspace}}/JUCE_modules/chowdsp_utils
jobs:
build:
name: "Build ${{ matrix.tests }} for ARM Mac"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # show all errors for each platform (vs. cancel jobs on error)
matrix:
tests: ["chowdsp_buffers_test chowdsp_dsp_data_structures_test chowdsp_dsp_juce_test chowdsp_dsp_utils_test chowdsp_sources_test chowdsp_math_test chowdsp_simd_test chowdsp_filters_test chowdsp_waveshapers_test chowdsp_modal_dsp_test chowdsp_compressor_test"]
os: [macos-latest]
steps:
- name: Get latest CMake
uses: lukka/get-cmake@latest
- name: Checkout code
uses: actions/checkout@v2
with:
path: ${{env.WORK_DIR}}
- name: Set up environment
working-directory: ${{github.workspace}}
run: |
git clone --depth 1 --branch 7.0.6 https://github.com/juce-framework/JUCE.git
cd JUCE_modules
git clone --single-branch --branch chowdsp https://github.com/Chowdhury-DSP/foleys_gui_magic.git
git clone --single-branch --branch main --recursive https://github.com/free-audio/clap-juce-extensions.git
- name: Configure
working-directory: ${{env.WORK_DIR}}
shell: bash
run: cmake -Bbuild -DCHOWDSP_ENABLE_TESTING=ON -GXcode -DCMAKE_OSX_ARCHITECTURES=arm64
- name: Build
working-directory: ${{env.WORK_DIR}}/build
shell: bash
env:
TEST_TARGETS: ${{ matrix.tests }}
run: cmake --build . --config Release --parallel 4 --target $TEST_TARGETS | xcpretty