From 5fda39600dcc6f03fba89b625c1420a420306752 Mon Sep 17 00:00:00 2001 From: Niklas Wahl Date: Fri, 29 May 2026 17:21:27 +0200 Subject: [PATCH] fix intel mac build (needs to run R2025b) and update actions --- .github/actions/test-matlab/action.yml | 4 ++-- .github/workflows/package.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/test-matlab/action.yml b/.github/actions/test-matlab/action.yml index ff541189b..c52fa331e 100644 --- a/.github/actions/test-matlab/action.yml +++ b/.github/actions/test-matlab/action.yml @@ -12,14 +12,14 @@ runs: steps: # Install MATLAB - name: Install MATLAB - uses: matlab-actions/setup-matlab@v2 + uses: matlab-actions/setup-matlab@v3 with: release: ${{ inputs.matlab-version }} products: Image_Processing_Toolbox Parallel_Computing_Toolbox Optimization_Toolbox Global_Optimization_Toolbox # Runs test command - name: Run Tests - uses: matlab-actions/run-command@v2 + uses: matlab-actions/run-command@v3 with: command: matRad_runTests('test',true); diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 4ea743285..0ea9730b3 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -58,13 +58,13 @@ jobs: fi - name: Install MATLAB with Compiler - uses: matlab-actions/setup-matlab@v2 + uses: matlab-actions/setup-matlab@v3 with: - release: latest + release: ${{ matrix.platform == 'macos-intel' && 'R2025b' || 'latest' }} products: MATLAB_Compiler MATLAB_Compiler_SDK Image_Processing_Toolbox Parallel_Computing_Toolbox Optimization_Toolbox Global_Optimization_Toolbox - name: Build Standalone - uses: matlab-actions/run-command@v2 + uses: matlab-actions/run-command@v3 with: command: | matRad_buildStandalone('isRelease',${{ steps.build-type.outputs.is_release }},'verbose',true,'json','build_result.json')