Only test free-threading with faster macOS M1
uses: ./.github/workflows/reusable-macos.yml
with:
config_hash: ${{ needs.check_source.outputs.config_hash }}
+ # macos-14 is M1, macos-13 is Intel
+ os-matrix: '["macos-14", "macos-13"]'
build_macos_free_threading:
name: 'macOS (free-threading)'
with:
config_hash: ${{ needs.check_source.outputs.config_hash }}
free-threading: true
+ # macos-14 is M1
+ os-matrix: '["macos-14"]'
build_ubuntu:
name: 'Ubuntu'
required: false
type: boolean
default: false
+ os-matrix:
+ required: false
+ type: string
jobs:
build_macos:
strategy:
fail-fast: false
matrix:
- os: [
- "macos-14", # M1
- "macos-13", # Intel
- ]
+ os: ${{fromJson(inputs.os-matrix)}}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4