Skip to content

Commit

Permalink
Avoid using macos-latest for jobs we want x86_64 macOS (#1175)
Browse files Browse the repository at this point in the history
Github actions recently changed the macos-latest runner to use macos-14,
which changes the CI environment to run with arm64 instead of x86_64.
This has several impacts on our test jobs where the intent was to
specifically test native x86_64 macOS. This commit changes the ci
configuration to use macos-13 in places where this was the case, as we
were already explicitly using macos-14 where we wanted arm64 runners.
  • Loading branch information
mtreinish authored Apr 24, 2024
1 parent ab93329 commit 229f38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
rust: [stable]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
platform: [
{ os: "macOS-latest", python-architecture: "x64", rust-target: "x86_64-apple-darwin" },
{ os: "macOS-13", python-architecture: "x64", rust-target: "x86_64-apple-darwin" },
{ os: "macOS-14", python-architecture: "arm64", rust-target: "aarch64-apple-darwin" },
{ os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" },
{ os: "windows-latest", python-architecture: "x64", rust-target: "x86_64-pc-windows-msvc" },
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-14]
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down

0 comments on commit 229f38f

Please sign in to comment.