Simplifying RTNeural AVX usage and other compiler-related tweaks #910
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ARM-Mac | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
repository_dispatch: | |
types: [add_ons_push] | |
workflow_dispatch: | |
jobs: | |
build_and_test: | |
name: Build plugin for Apple Silicon | |
runs-on: macos-latest | |
steps: | |
- name: Get latest CMake | |
uses: lukka/get-cmake@latest | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Checkout add-ons | |
uses: actions/checkout@v2 | |
if: github.event_name != 'pull_request' | |
with: | |
ref: main | |
repository: Chowdhury-DSP/BYOD-add-ons | |
path: modules/BYOD-add-ons | |
token: ${{ secrets.OUR_GITHUB_PAT }} | |
- name: Configure | |
shell: bash | |
run: cmake -Bbuild -GXcode $CONFIGURE_ADD_ONS_FLAG -D"CMAKE_OSX_ARCHITECTURES=arm64" | |
env: | |
CONFIGURE_ADD_ONS_FLAG: "${{ github.event_name != 'pull_request' && '-DBYOD_BUILD_ADD_ON_MODULES=ON' || '' }}" | |
- name: Build | |
shell: bash | |
run: cmake --build build --config Debug --parallel | xcpretty |