跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

ci.yml

58 行 · 1.7 KB历史下载
1name: Three-platform checks and test packages
2on:
3 push:
4 branches: ['**', '!codex/release/**']
5 pull_request:
6 workflow_dispatch:
7permissions:
8 contents: read
9concurrency:
10 group: cage-ci-${{ github.event.pull_request.number || github.ref }}
11 cancel-in-progress: true
12jobs:
13 workflow-checks:
14 runs-on: ubuntu-24.04
15 timeout-minutes: 15
16 steps:
17 - uses: actions/checkout@v4
18 with:
19 persist-credentials: false
20 - uses: actions/setup-node@v4
21 with:
22 node-version: 24
23 - uses: actions/setup-go@v5
24 with:
25 go-version-file: go.mod
26 - uses: actions/setup-java@v4
27 with:
28 distribution: temurin
29 java-version: '21'
30 - name: Version consistency and release safety tests
31 run: |
32 node scripts/check-repository-files.mjs
33 node scripts/check-version.mjs
34 node --test scripts/release-version.test.mjs scripts/release-control.test.mjs scripts/prepare-release-assets.test.mjs scripts/esigner.test.mjs
35 pwsh -NoProfile -File scripts/test-windows-signing.ps1
36 - name: Validate workflow syntax
37 run: go run github.com/rhysd/actionlint/cmd/[email protected] -color
38 macos:
39 needs: workflow-checks
40 uses: ./.github/workflows/macos-build.yml
41 with:
42 ref: ${{ github.sha }}
43 release: false
44 artifact_name: cage-macos-arm64-test
45 windows:
46 needs: workflow-checks
47 uses: ./.github/workflows/windows-build.yml
48 with:
49 ref: ${{ github.sha }}
50 release: false
51 artifact_name: cage-windows-amd64-test
52 linux:
53 needs: workflow-checks
54 uses: ./.github/workflows/linux-build.yml
55 with:
56 ref: ${{ github.sha }}
57 release: false
58 artifact_name: cage-linux-amd64-test