|
22 | 22 | description: 'Build architecture for macOS' |
23 | 23 | required: false |
24 | 24 | # NOTE: It is faster to build a single architecture only |
25 | | - default: 'arm64' |
| 25 | + default: 'x86_64' |
26 | 26 | type: choice |
27 | 27 | options: |
28 | | - - 'arm64' |
| 28 | + - 'x86_64' |
29 | 29 | # NOTE: Required for building the distribution artifact |
30 | 30 | - 'universal2' |
31 | 31 | run_asan_tests: |
@@ -336,8 +336,8 @@ jobs: |
336 | 336 | os: |
337 | 337 | # NOTE: Earliest macOS supported by Crystal is macOS 13 (from the README) |
338 | 338 | #- macos-12 # no longer supported by GitHub Actions after 12/3/2024 |
339 | | - #- macos-13 # last macOS runner to run on Intel rather than arm64; no longer supported by GitHub Actions after 12/4/2025 |
340 | | - - macos-14 # ARM-based |
| 339 | + - macos-13 # last macOS runner to run on Intel rather than arm64 |
| 340 | + #- macos-14 # ARM-based; forces earlier incompatible Python version |
341 | 341 | #- macos-15 # ARM-based |
342 | 342 | # Test the earliest supported Python version only |
343 | 343 | python-version: |
@@ -384,7 +384,7 @@ jobs: |
384 | 384 | # Install the "crystal" script entry point |
385 | 385 | poetry install --only-root |
386 | 386 |
|
387 | | - - name: Install dependencies and Crystal (native architecture) |
| 387 | + - name: Install dependencies and Crystal (x86_64 architecture) |
388 | 388 | if: ${{ github.event_name != 'workflow_dispatch' || !(github.event.inputs.build_dist_artifact == 'true' || github.event.inputs.build_arch_macos == 'universal2') }} |
389 | 389 | # If build takes a very long time, then it's likely that the version |
390 | 390 | # of wxPython installed does not offer a precompiled wheel for this |
@@ -555,7 +555,7 @@ jobs: |
555 | 555 | if: ${{ github.event_name == 'workflow_dispatch' && |
556 | 556 | github.event.inputs.build_dist_artifact == 'true' && |
557 | 557 | matrix.python-version == '3.11.9' && |
558 | | - matrix.os == 'macos-14' }} |
| 558 | + matrix.os == 'macos-13' }} |
559 | 559 | uses: actions/upload-artifact@v4 |
560 | 560 | with: |
561 | 561 | name: dist-mac |
|
0 commit comments