This commit is contained in:
2025-10-04 15:08:36 +08:00
parent 4eb4241fdb
commit 80c1af52f9

View File

@@ -1,16 +1,13 @@
kind: pipeline
type: exec
name: macos-local
# .woodpecker.yml
steps:
- name: hello
- name: hello-macos
# local 后端下image 用来指定 shell
image: /bin/bash
when:
event: [push, manual, pull_request]
agent:
labels:
host: Mac-mini.local
platform: darwin/arm64
gpu: metal
- event: [push, manual, pull_request]
platform: darwin/arm64 # 只在 macOS/ARM64 的 agent 上执行
commands:
- 'sw_vers'
- 'xcodebuild -version || true'
- set -e
- echo "Agent platform: $CI_SYSTEM_PLATFORM"
- sw_vers
- xcodebuild -version || true