mirror of
https://github.com/ZSeven-W/openpencil.git
synced 2026-05-31 19:04:29 +07:00
fix(ci): bump CI toolchain pins to Rust 1.94, correct README crate table
This commit is contained in:
parent
74f5f658a9
commit
5e14317b59
5 changed files with 20 additions and 15 deletions
4
.github/workflows/rust-check.yml
vendored
4
.github/workflows/rust-check.yml
vendored
|
|
@ -24,7 +24,7 @@ on:
|
|||
|
||||
jobs:
|
||||
check:
|
||||
name: ${{ matrix.os }} / 1.85
|
||||
name: ${{ matrix.os }} / 1.94
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
submodules: recursive
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: '1.85'
|
||||
toolchain: '1.94'
|
||||
components: rustfmt, clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
# Linux GL prerequisites for winit's x11+wayland feature link.
|
||||
|
|
|
|||
12
.github/workflows/rust-multiplatform.yml
vendored
12
.github/workflows/rust-multiplatform.yml
vendored
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
submodules: recursive
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: '1.85'
|
||||
toolchain: '1.94'
|
||||
targets: ${{ matrix.target }}
|
||||
components: rustfmt, clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
|
@ -114,9 +114,9 @@ jobs:
|
|||
- name: Test (host, macOS / Windows)
|
||||
if: matrix.cross == false && matrix.check_only != true && runner.os != 'Linux'
|
||||
run: cargo test --workspace --target ${{ matrix.target }}
|
||||
# Desktop binary artifact upload removed with the `openpencil-app`
|
||||
# placeholder crate (Phase 1 Task 1.2). Step 1f reintroduces a
|
||||
# real desktop binary (new `op-*` crate) and its upload step here.
|
||||
# Desktop binary artifact upload is intentionally not wired here yet.
|
||||
# The real desktop binary lives in the `openpencil-desktop` crate; a
|
||||
# build + upload step can be added once release packaging is finalized.
|
||||
|
||||
wasm-web:
|
||||
name: wasm32-unknown-unknown / openpencil-shell-web (compile guard)
|
||||
|
|
@ -127,7 +127,7 @@ jobs:
|
|||
submodules: recursive
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: '1.85'
|
||||
toolchain: '1.94'
|
||||
targets: wasm32-unknown-unknown
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
|
@ -173,7 +173,7 @@ jobs:
|
|||
submodules: recursive
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: '1.85'
|
||||
toolchain: '1.94'
|
||||
targets: ${{ matrix.target }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/rust-release.yml
vendored
2
.github/workflows/rust-release.yml
vendored
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
submodules: recursive
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: '1.85'
|
||||
toolchain: '1.94'
|
||||
targets: ${{ matrix.target }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/wasm-bundle-check.yml
vendored
2
.github/workflows/wasm-bundle-check.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
submodules: recursive
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: '1.85'
|
||||
toolchain: '1.94'
|
||||
targets: wasm32-unknown-unknown
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
|
|
|||
15
README.md
15
README.md
|
|
@ -447,8 +447,8 @@ bun run mcp:dev # Run MCP server from source
|
|||
OpenPencil 正在进行全量 Rust 化。当前状态见 `openpencil-docs/superpowers/specs/2026-05-02-rust-ification-kickoff.md`(v7 FROZEN)。
|
||||
|
||||
```bash
|
||||
# Install Rust toolchain (rust-toolchain.toml auto-pins 1.85)
|
||||
rustup toolchain install 1.85
|
||||
# Install Rust toolchain (rust-toolchain.toml auto-pins 1.94)
|
||||
rustup toolchain install 1.94
|
||||
rustup target add wasm32-unknown-unknown
|
||||
|
||||
# build / test / lint
|
||||
|
|
@ -461,9 +461,14 @@ bun run cargo:deny # cargo-deny (native + wasm32 bans; CI uses cargo-deny
|
|||
|
||||
**Crate list (`crates/`):**
|
||||
|
||||
| Crate | Category | wasm32 |
|
||||
| ---------------------------------- | ------------------------------ | --------------------------------------------- |
|
||||
| openpencil-shell-{core,web,native} | UI shell(spec §1.2 三 crate) | core/web ✅ / native ❌ (compile_error guard) |
|
||||
| Crate | Category | wasm32 |
|
||||
| ----------------------- | ------------------------------------------------ | ------------------------ |
|
||||
| openpencil-shell-core | Platform-free widgets + Document model | ✅ |
|
||||
| openpencil-shell-web | Browser runner (wasm32 + skia-safe-op fork) | ✅ |
|
||||
| openpencil-shell-native | Native lib (WidgetHostNative + NativeBackend) | ❌ (compile_error guard) |
|
||||
| openpencil-desktop | Desktop binary (winit + skia-safe GL surface) | ❌ (native only) |
|
||||
| anthropic-agent-sdk | Vendored Claude Code CLI SDK (streaming, MCP) | ❌ (native only) |
|
||||
| wasm-libc-shim | libc / libm / libcxx shim for wasm32 skia bundle | ✅ |
|
||||
|
||||
**Submodule:** `vendor/agent` → `github.com/ZSeven-W/agent-rs` (cross-product Rust agent runtime).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue