kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit 8449ce9b1b71a637d76c2ea081f80071e2bb9d30
parent cf56bd564ddda2b62415b3bfe6eedd2057358baa
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date:   Tue, 30 Jan 2024 10:32:18 +0000

Build for macos-arm64

Diffstat:
M.github/workflows/build.yml | 18++++++++++++++++++
M.github/workflows/test.yml | 11+++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -81,3 +81,21 @@ jobs: with: name: macos-x86_64 path: ${{ github.workspace }}/dist + + binaries-macos-arm64: + runs-on: macos-13 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + run: | + brew install ninja + cmake -B build-release -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/dist -GNinja -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -DKFR_ENABLE_CAPI_BUILD=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DKFR_ARCH=target + cmake -B build-debug -S . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/dist -GNinja -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -DKFR_ENABLE_CAPI_BUILD=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DKFR_ARCH=target + ninja -C build-release install + ninja -C build-debug install + - name: Binaries + uses: actions/upload-artifact@v4 + with: + name: macos-arm64 + path: ${{ github.workspace }}/dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -162,6 +162,17 @@ jobs: brew install ninja ci/run.sh build-release -DCMAKE_OSX_ARCHITECTURES=x86_64 -DKFR_ENABLE_CAPI_BUILD=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DKFR_ARCH_TESTS=sse42,avx -DKFR_ARCH=target -DCMAKE_BUILD_TYPE=Release + macos13-xcode14-arm64: + runs-on: macos-13 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Tests + run: | + set -e + brew install ninja + ci/run.sh build-release -DCMAKE_OSX_ARCHITECTURES=arm64 -DKFR_ENABLE_CAPI_BUILD=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DKFR_ARCH=target -DCMAKE_BUILD_TYPE=Release -DKFR_SKIP_TESTS=ON + macos11-xcode13-x86_64: runs-on: macos-11 steps: