ci: add Windows Blacksmith testbox · openclaw/openclaw@7be29b2
vincentkoc
·
2026-05-04
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: Windows Blacksmith Testbox |
| 2 | + |
| 3 | +on: |
| 4 | +workflow_dispatch: |
| 5 | +inputs: |
| 6 | +testbox_id: |
| 7 | +type: string |
| 8 | +description: "Testbox session ID" |
| 9 | +required: true |
| 10 | +runner_label: |
| 11 | +type: string |
| 12 | +description: "Windows runner label" |
| 13 | +required: false |
| 14 | +default: "blacksmith-16vcpu-windows-2025" |
| 15 | + |
| 16 | +permissions: |
| 17 | +contents: read |
| 18 | + |
| 19 | +env: |
| 20 | +FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" |
| 21 | + |
| 22 | +jobs: |
| 23 | +windows: |
| 24 | +name: windows |
| 25 | +runs-on: ${{ inputs.runner_label }} |
| 26 | +timeout-minutes: 75 |
| 27 | +defaults: |
| 28 | +run: |
| 29 | +shell: pwsh |
| 30 | +steps: |
| 31 | + - name: Begin Testbox |
| 32 | +uses: useblacksmith/begin-testbox@d0e04585c26905fdd92c94a09c159544c7ee1b67 |
| 33 | +with: |
| 34 | +testbox_id: ${{ inputs.testbox_id }} |
| 35 | + |
| 36 | + - name: Checkout |
| 37 | +uses: actions/checkout@v6 |
| 38 | +with: |
| 39 | +persist-credentials: false |
| 40 | +submodules: false |
| 41 | + |
| 42 | + - name: Prepare Windows shell |
| 43 | +run: | |
| 44 | + $ErrorActionPreference = "Stop" |
| 45 | + Write-Host "runner=$env:RUNNER_NAME" |
| 46 | + Write-Host "machine=$env:COMPUTERNAME" |
| 47 | + Write-Host ("os=" + [System.Environment]::OSVersion.VersionString) |
| 48 | + Write-Host ("powershell=" + $PSVersionTable.PSVersion.ToString()) |
| 49 | + git --version |
| 50 | + |
| 51 | + - name: Run Testbox |
| 52 | +uses: useblacksmith/run-testbox@5ca05834db1d3813554d1dd109e5f2087a8d7cbc |
| 53 | +if: always() |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。