Skip to content

Commit

Permalink
Run Apple Silicon build on MacOS 15, R2024b
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelpowell authored Dec 13, 2024
1 parent da8920f commit af1e0b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_mex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-13, macos-14]
os: [ubuntu-20.04, windows-2019, macos-13, macos-15]

steps:
- uses: actions/checkout@v3

# Get MATLAB
- name: Set up MATLAB (R2023b for Apple Silicon)
if: matrix.os == 'macos-14'
- name: Set up MATLAB (R2024b for Apple Silicon)
if: matrix.os == 'macos-15'
uses: matlab-actions/setup-matlab@v2
with:
release: R2024a
release: R2024b

- name: Set up MATLAB (R2022a)
if: matrix.os != 'macos-14'
if: matrix.os != 'macos-15'
uses: matlab-actions/setup-matlab@v2
with:
release: R2022a

- uses: apple-actions/import-codesign-certs@v3
if: matrix.os == 'macos-14' || matrix.os == 'macos-13'
if: matrix.os == 'macos-15' || matrix.os == 'macos-13'
with:
p12-file-base64: ${{ secrets.APPLE_CERTIFICATES_P12 }}
p12-password: ${{ secrets.APPLE_CERTIFICATES_P12_PASSWORD }}
Expand All @@ -51,7 +51,7 @@ jobs:
# Code sign and archive on MacOS
- name: Code sign, archive and notarize
if: matrix.os == 'macos-14' || matrix.os == 'macos-13'
if: matrix.os == 'macos-15' || matrix.os == 'macos-13'
env:
APPLE_CODESIGN_IDENTITY: ${{ secrets.APPLE_CODESIGN_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
Expand Down

0 comments on commit af1e0b0

Please sign in to comment.