Skip to content

Commit 17a703c

Browse files
authored
Update macOS runner to macos-13-intel for internal runners (#279)
* Update macOS version in build workflow * Update macOS version in CI workflow * Update macOS runner version in CI workflow * Update macOS version in CI workflow * Update macOS runner version in CI workflow * Update macOS version in build workflow * Update macOS version in CI workflow * Update macOS version in CI workflow * Update library path setup for MacOS in workflow
1 parent 2ecdc62 commit 17a703c

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build-c-libraries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
matrix: macos
3232
runs-on:
3333
arm: [macOS, ARM64]
34-
intel: [macos-13]
34+
intel: [macos-13-intel]
3535
- name: Ubuntu
3636
matrix: ubuntu
3737
runs-on:

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
matrix: macos
3232
runs-on:
3333
arm: [macos-13-arm64]
34-
intel: [macos-13]
34+
intel: [macos-13-intel]
3535
cibw-archs-macos:
3636
arm: arm64
3737
intel: x86_64

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
matrix: macos
6666
runs-on:
6767
arm: [macos-13-arm64]
68-
intel: [macos-13]
68+
intel: [macos-13-intel]
6969
cibw-archs-macos:
7070
arm: arm64
7171
intel: x86_64
@@ -100,7 +100,7 @@ jobs:
100100

101101
- name: Setup library path on MacOS
102102
if: matrix.os.name == 'macOS'
103-
run: echo "LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV
103+
run: echo "LIBRARY_PATH=$(brew --prefix)/lib:$LIBRARY_PATH" >> $GITHUB_ENV
104104

105105
- name: Install MPIR on Windows
106106
if: matrix.os.name == 'Windows'

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [macos-13, ubuntu-latest]
20+
os: [macos-13-intel, ubuntu-latest]
2121
config: [optimized=1, TSAN=1, ASAN=1]
2222

2323
steps:

0 commit comments

Comments
 (0)