mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/ci.yml"
|
|
- "src-tauri/**"
|
|
- "src-tauri/Cargo.lock"
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- ".github/workflows/ci.yml"
|
|
- "src-tauri/**"
|
|
- "src-tauri/Cargo.lock"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
CARGO_NET_RETRY: 10
|
|
RUSTUP_MAX_RETRIES: 10
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
windows-openclaw-regression:
|
|
name: Windows OpenClaw Regression
|
|
runs-on: windows-2022
|
|
timeout-minutes: 45
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
targets: x86_64-pc-windows-msvc
|
|
|
|
- name: Setup Rust cache
|
|
uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: src-tauri
|
|
shared-key: ci-windows-openclaw
|
|
cache-on-failure: true
|
|
|
|
- name: Run OpenClaw install regression tests
|
|
shell: pwsh
|
|
run: cargo test -p lime-core openclaw_install --manifest-path "src-tauri/Cargo.toml"
|