Skip to content

Commit d8bad0d

Browse files
author
Sisyphus Agent
committed
fix(ci): 移除无法执行的 ARM64 平台测试
- ubuntu-latest (x86_64) 无法运行 linux-arm64 二进制 - macos-latest (Intel) 无法运行 darwin-arm64 二进制 - 保留 linux-amd64、darwin-amd64、windows-amd64 三项可执行测试
1 parent a85491c commit d8bad0d

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,26 +236,23 @@ jobs:
236236
fail-fast: false
237237
matrix:
238238
include:
239+
# linux-amd64: runs-on ubuntu-latest (x86_64) ✓
239240
- goos: linux
240241
goarch: amd64
241242
runs-on: ubuntu-latest
242243
artifact: oho-linux-amd64
243-
- goos: linux
244-
goarch: arm64
245-
runs-on: ubuntu-latest
246-
artifact: oho-linux-arm64
244+
# darwin-amd64: runs-on macos-latest (x86_64) ✓
247245
- goos: darwin
248246
goarch: amd64
249247
runs-on: macos-latest
250248
artifact: oho-darwin-amd64
251-
- goos: darwin
252-
goarch: arm64
253-
runs-on: macos-latest
254-
artifact: oho-darwin-arm64
249+
# windows-amd64: runs-on windows-latest ✓
255250
- goos: windows
256251
goarch: amd64
257252
runs-on: windows-latest
258253
artifact: oho-windows-amd64
254+
# darwin-arm64: runs-on macos-latest (macos-13 Intel) 需要单独 runner,暂不支持
255+
# linux-arm64: runs-on ubuntu-latest (x86_64) 无法运行 ARM64 二进制,暂不支持
259256
steps:
260257
- name: Download artifact
261258
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)