Accumulated fixes for convolution FX. #609
Workflow file for this run
This file contains hidden or 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: "Build pull request" | |
| on: | |
| pull_request: | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build_plugin: | |
| name: PR - ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| - name: "Windows MSVC surge-common only" | |
| os: windows-latest | |
| target: surge-common | |
| cmakeConfig: -A x64 | |
| cmakeOpt: DEBUG | |
| runTests: false | |
| - name: "Windows MSVC SurgePy" | |
| os: windows-latest | |
| target: surgepy | |
| cmakeConfig: -A x64 -DSURGE_BUILD_PYTHON_BINDINGS=TRUE | |
| cmakeOpt: DEBUG | |
| runTests: false | |
| - name: "Windows MSVC ARM64EC" | |
| os: windows-latest | |
| target: surge-xt_Standalone | |
| cmakeConfig: -G"Visual Studio 17 2022" -A arm64ec -DCMAKE_SYSTEM_VERSION=10 -DSURGE_SKIP_LUA=TRUE | |
| cmakeOpt: DEBUG | |
| runTests: false | |
| - name: "Windows MSVC ARM64" | |
| os: windows-latest | |
| target: surge-xt-distribution | |
| cmakeConfig: -G"Visual Studio 17 2022" -A arm64 -DCMAKE_SYSTEM_VERSION=10 -DSURGE_SKIP_LUA=TRUE | |
| cmakeOpt: DEBUG | |
| runTests: false | |
| - name: "Windows MSVC JUCE 7" | |
| os: windows-latest | |
| target: surge-xt_Standalone surge-fx_Standalone | |
| cmakeConfig: -A x64 | |
| cmakeOpt: DEBUG | |
| runTests: false | |
| revertJuce: true | |
| #- name: "Windows Clang" | |
| # os: windows-latest | |
| # target: surge-xt_Standalone | |
| # cmakeConfig: -GNinja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang | |
| # cmakeOpt: DEBUG | |
| # runTests: false | |
| - name: "Ubuntu standalone" | |
| os: ubuntu-latest | |
| target: surge-xt_Standalone | |
| cmakeConfig: -GNinja | |
| cmakeOpt: DEBUG | |
| runTests: false | |
| - name: "Ubuntu (latest) SurgePy" | |
| os: ubuntu-latest | |
| target: surgepy | |
| cmakeConfig: -GNinja -DSURGE_BUILD_PYTHON_BINDINGS=TRUE | |
| cmakeOpt: DEBUG | |
| runTests: false | |
| - name: "macOS standalone" | |
| os: macos-latest | |
| target: surge-xt_Standalone | |
| cmakeConfig: -GNinja -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" | |
| cmakeOpt: DEBUG | |
| runTests: false | |
| - name: "macOS test runner" | |
| os: macos-latest | |
| target: surge-testrunner | |
| cmakeConfig: -GNinja | |
| cmakeOpt: RELEASE | |
| runTests: true | |
| - name: "Linux test runner" | |
| os: ubuntu-latest | |
| target: surge-testrunner | |
| cmakeConfig: -GNinja | |
| cmakeOpt: RELEASE | |
| runTests: true | |
| - name: "Windows test runner" | |
| os: windows-latest | |
| target: surge-testrunner | |
| cmakeConfig: -G"Visual Studio 17 2022" -A x64 | |
| #cmakeConfig: -GNinja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang | |
| cmakeOpt: RELEASE | |
| runTests: true | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: "Revert JUCE" | |
| if: ${{ matrix.revertJuce }} | |
| run: | | |
| cd libs/JUCE | |
| git fetch origin | |
| git fetch origin -t | |
| git checkout surge-7.0.12 | |
| - name: "Prepare for JUCE" | |
| uses: surge-synthesizer/sst-githubactions/prepare-for-juce@main | |
| with: | |
| os: ${{ runner.os }} | |
| - name: "Build pull request version" | |
| run: | | |
| cmake -S . -B ./build ${{ matrix.cmakeConfig }} -DCMAKE_BUILD_TYPE=${{ matrix.cmakeOpt }} | |
| cmake --build ./build --config ${{ matrix.cmakeOpt }} --target ${{ matrix.target }} --parallel 3 | |
| - name: Run tests | |
| if: ${{ matrix.runTests }} | |
| run: | | |
| set -e | |
| cd build | |
| ctest -j 4 || ctest --rerun-failed --output-on-failure | |
| build_plugin_lindoc: | |
| name: "PR - Ubuntu 20 Docker" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: "Build in Docker" | |
| uses: surge-synthesizer/sst-githubactions/cmake-in-docker@main | |
| with: | |
| image: ghcr.io/surge-synthesizer/sst-dockerimages/ubuntu20_gcc11:main | |
| username: ${{ github.actor }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| cmakeArgs: -DCMAKE_BUILD_TYPE=Debug -GNinja | |
| target: surge-xt_Standalone surge-fx_Standalone | |