Skip to content

Commit

Permalink
Try enabling ARM macos on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Apr 28, 2024
1 parent cafff7f commit 7353a79
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ jobs:
job:
# Operating systems available: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
- { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04 }
# mac-latest is an ARM device, so use macos-12 to get Intel.
# mac-latest (currently mac-14) is an ARM device, so use macos-12 to get Intel.
# Update annoucement: https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/
- { target: x86_64-apple-darwin, os: macos-12 }
- { target: x86_64-pc-windows-msvc, os: windows-latest }

- { target: aarch64-unknown-linux-gnu, os: ubuntu-20.04, use-cross: true }

# TODO: Support cross-compiling on macOS on CI, see
# https://github.com/cross-rs/cross-toolchains#apple-targets
#
# - { target: aarch64-apple-darwin, os: macos-latest, use-cross: true }
# mac-14 is an M1 ARM device.
- { target: aarch64-apple-darwin, os: macos-14 }

# musl binaries produced by GitHub actions segfault when run, see
# https://github.com/Wilfred/difftastic/issues/563
Expand Down

0 comments on commit 7353a79

Please sign in to comment.