Skip to content

ci: install GTK/WebKit dev packages before setup-soldr (#ci-cook) (#263) #370

ci: install GTK/WebKit dev packages before setup-soldr (#ci-cook) (#263)

ci: install GTK/WebKit dev packages before setup-soldr (#ci-cook) (#263) #370

name: macOS x86 Build
on:
push:
branches: [main]
# Pull requests run macos-arm-live-test.yml instead: it cross-compiles on
# Linux and holds a macOS runner only to execute the result.
workflow_dispatch:
# One live run per workflow per ref: a new push to a branch or PR cancels the
# superseded run instead of queuing behind it in the shared account-wide runner
# pool. Runs on main get a unique group, so they are never cancelled or coalesced.
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
call:
uses: ./.github/workflows/_build.yml
with:
runs-on: macos-14
# Explicit target so CI wheels/binaries are identical to the release
# builds in auto-release.yml (same artifact names, plat-name tags, and
# soldr cache key), letting auto-release reuse them (#170). Also fixes
# a latent bug: macos-14 runners are Apple Silicon, so the previous
# native build produced an arm64 binary under the "macOS x86" name.
rust-target: x86_64-apple-darwin