mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-16 05:01:03 +03:00
ci: run macos build jobs on blacksmith (#63397)
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
||||
- system: aarch64-linux
|
||||
runner: blacksmith-4vcpu-ubuntu-2404-arm
|
||||
- system: aarch64-darwin
|
||||
runner: macos-latest
|
||||
runner: blacksmith-6vcpu-macos-latest
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
steps:
|
||||
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-22.04, macos-15]
|
||||
os: [ubuntu-22.04, blacksmith-6vcpu-macos-15]
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: mlugg/setup-zig@8d6198c65fb0feaa111df26e6b467fea8345e46f # v2.0.5
|
||||
|
||||
@@ -83,7 +83,7 @@ jobs:
|
||||
musl: true
|
||||
- runner: macos-15-intel
|
||||
target: x86_64-apple-darwin
|
||||
- runner: macos-15
|
||||
- runner: blacksmith-6vcpu-macos-15
|
||||
target: aarch64-apple-darwin
|
||||
runs-on: ${{ matrix.runner }}
|
||||
env:
|
||||
|
||||
@@ -212,7 +212,7 @@ jobs:
|
||||
include:
|
||||
- { target: linux-arm64, host: blacksmith-4vcpu-ubuntu-2404-arm }
|
||||
- { target: linux-x64, host: blacksmith-4vcpu-ubuntu-2404 }
|
||||
- { target: darwin-arm64, host: macos-26 }
|
||||
- { target: darwin-arm64, host: blacksmith-6vcpu-macos-26 }
|
||||
- { target: windows-arm64, host: blacksmith-4vcpu-windows-2025 }
|
||||
- { target: windows-x64, host: blacksmith-4vcpu-windows-2025 }
|
||||
runs-on: ${{ matrix.host }}
|
||||
@@ -323,9 +323,9 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- target: darwin-x64
|
||||
host: ${{ (needs.plan.outputs.channel == 'dev' || needs.plan.outputs.channel == 'beta') && 'macos-26' || 'macos-26-intel' }}
|
||||
host: ${{ (needs.plan.outputs.channel == 'dev' || needs.plan.outputs.channel == 'beta') && 'blacksmith-6vcpu-macos-26' || 'macos-26-intel' }}
|
||||
install: ${{ (needs.plan.outputs.channel == 'dev' || needs.plan.outputs.channel == 'beta') && '--os=darwin --cpu=*' || '--os=darwin --cpu=x64' }}
|
||||
- { target: darwin-arm64, host: macos-26, install: --os=darwin --cpu=arm64 }
|
||||
- { target: darwin-arm64, host: blacksmith-6vcpu-macos-26, install: --os=darwin --cpu=arm64 }
|
||||
# github-hosted: blacksmith lacks the ARM64 MSVC cross-compilation toolchain
|
||||
- target: windows-arm64
|
||||
host: ${{ (needs.plan.outputs.channel == 'dev' || needs.plan.outputs.channel == 'beta') && 'blacksmith-4vcpu-windows-2025' || 'windows-2025' }}
|
||||
|
||||
Reference in New Issue
Block a user