Skip to content

Move to new simd approach #211

Move to new simd approach

Move to new simd approach #211

Workflow file for this run

name: Build Tests
on:
pull_request:
branches:
- main
jobs:
build_feature:
name: Build Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
name: linux
runTest: true
testExe: build/sst-effects-test
- os: macos-latest
name: mac-x86
runTest: true
testExe: build/sst-effects-test
cmakeArgs: -DCMAKE_OSX_ARCHITECTURES=x86_64
- os: macos-latest
name: mac-arm
cmakeArgs: -DCMAKE_OSX_ARCHITECTURES=arm64
- os: macos-latest
name: mac-arm-nonative
cmakeArgs: -DCMAKE_OSX_ARCHITECTURES=arm64 -DSST_BASIC_BLOCKS_SIMD_OMIT_NATIVE_ALIASES=TRUE
- os: windows-latest
name: win-x86
runTest: true
testExe: build/Release/sst-effects-test.exe
- os: windows-latest
name: win-arm64
cmakeArgs: -G"Visual Studio 17 2022" -A arm64 -DCMAKE_SYSTEM_VERSION=10
- os: windows-latest
name: win-arm64ec
cmakeArgs: -G"Visual Studio 17 2022" -A arm64ec -DCMAKE_SYSTEM_VERSION=10
- os: windows-latest
name: win-arm64-non-native
cmakeArgs: -G"Visual Studio 17 2022" -A arm64 -DCMAKE_SYSTEM_VERSION=10 -DSST_BASIC_BLOCKS_SIMD_OMIT_NATIVE_ALIASES=TRUE
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build Smoke test
run: |
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release -DSST_EFFECTS_BUILD_TESTS=TRUE ${{ matrix.cmakeArgs }}
cmake --build ./build --config Release
- name: Run Smoke Test
if: ${{ matrix.runTest }}
run: |
ls ${{ matrix.testExe }}
${{ matrix.testExe }}