summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Otto <th1000s@posteo.net>2024-05-07 01:39:19 +0200
committerGitHub <noreply@github.com>2024-05-06 19:39:19 -0400
commit97839c61c873523ea86c5f1206856a322a1037a3 (patch)
tree0c5950907f8c8dce74ca6aa0e96a742ea4e44644
parentd995bf76cfe3ce4d0a89e4da647692319ee88c38 (diff)
CI: fix macOS build (#1696)
macos-latest defaults to aarch64 as of ~2024-04
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c44aaef1..a9ccb415 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,6 +14,9 @@ jobs:
matrix:
job:
- os: macos-latest
+ target: aarch64-apple-darwin
+ use-cross: false
+ - os: macos-12 # Should be Intel macOS, macos-latest is arm since ~2024-04
target: x86_64-apple-darwin
use-cross: false
- os: windows-latest
@@ -63,7 +66,7 @@ jobs:
os: [macos-latest, ubuntu-latest]
include:
- os: macos-latest
- target: x86_64-apple-darwin
+ target: aarch64-apple-darwin
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
steps: