fix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-10-04 15:11:23 +08:00
parent 6517e57fdd
commit 265fbc4b8f

View File

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