From 80c1af52f9dd4a4bd6a8ccbe6a74df9805220539 Mon Sep 17 00:00:00 2001 From: lingyuzeng Date: Sat, 4 Oct 2025 15:08:36 +0800 Subject: [PATCH] fix --- .woodpecker.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9e4af69..af0e2a0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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