uses: ./.github/workflows/reusable-macos.yml
with:
config_hash: ${{ needs.check_source.outputs.config_hash }}
+ # Cirrus is M1, macos-13 is default GHA Intel
+ os-matrix: '["ghcr.io/cirruslabs/macos-runner:sonoma", "macos-13"]'
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
def __init__(self, locals, loop):
super().__init__(locals)
self.compile.compiler.flags |= ast.PyCF_ALLOW_TOP_LEVEL_AWAIT
-
self.loop = loop
def runcode(self, code):