Skip to content

Commit 9450034

Browse files
committed
macos-13 was deprecated by github so pinning the mac release to macos-15
1 parent 7ea554d commit 9450034

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/macos-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,16 @@ jobs:
9292
# ---------------------------------------------------------
9393
- name: Configure CMake
9494
run: |
95+
# Determine target architecture for CMake (x64 input -> x86_64 flag)
96+
if [[ "${{ inputs.arch }}" == "x64" ]]; then
97+
CMAKE_ARCH="x86_64"
98+
else
99+
CMAKE_ARCH="arm64"
100+
fi
101+
95102
cmake -B build \
96103
-DCMAKE_BUILD_TYPE=Release \
104+
-DCMAKE_OSX_ARCHITECTURES="$CMAKE_ARCH" \
97105
-DCMAKE_PREFIX_PATH="${{ env.HIGHS_DIR }}" \
98106
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/dist" \
99107
-DBUILD_SHARED_LIBS=OFF \

.github/workflows/macos-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name: "macOS Intel (x64)"
2828
version: ${{ github.ref_name }}
2929
platform: "darwin"
30-
os: macos-13
30+
os: macos-15
3131
arch: x64
3232
asset_ext: tar.gz
3333
upload_assets: false
@@ -40,7 +40,7 @@ jobs:
4040
name: "macOS Apple Silicon (arm64)"
4141
version: ${{ github.ref_name }}
4242
platform: "darwin"
43-
os: macos-14
43+
os: macos-15
4444
arch: arm64
4545
asset_ext: tar.gz
4646
upload_assets: false

.github/workflows/macos-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15-
- { name: "macOS Intel (x64)", platform: darwin, os: macos-13, arch: x64, asset_ext: tar.gz }
16-
- { name: "macOS Apple Silicon (arm64)", platform: darwin, os: macos-14, arch: arm64, asset_ext: tar.gz }
15+
- { name: "macOS Intel (x64)", platform: darwin, os: macos-15, arch: x64, asset_ext: tar.gz }
16+
- { name: "macOS Apple Silicon (arm64)", platform: darwin, os: macos-15, arch: arm64, asset_ext: tar.gz }
1717

1818
uses: ./.github/workflows/macos-build.yml
1919
secrets: inherit

0 commit comments

Comments
 (0)