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