mirror of
https://github.com/stablyai/orca.git
synced 2026-11-14 01:47:24 +00:00
* refactor(tooling): organize test runtime and maintenance owners * test(tooling): preserve relocated runtime fixture dependency edges * refactor(tooling): preserve xterm routing owner checks * ci(tooling): include routing owner in sparse checkout * test(tooling): preserve copied workflow dependency closures * fix(tooling): normalize hashed JSON assets in release parity * fix(tooling): distinguish asset aliases from literal references * fix(tooling): frame normalized asset reference payloads * fix(tooling): normalize decoded JSON asset references * refactor(tooling): organize build, CI and release owners * fix(tooling): align moved generator and workflow path contracts * fix(tooling): update generated plugin bundle owner banners * test(tooling): create relocated mobile verifier fixture directories * test(tooling): copy headless detector dependency closure * test(tooling): align native batch policy fixtures with owner path * fix(tooling): link moved reliability command to historical evidence * fix(tooling): preserve nested sandbox owners and canonical guide source * fix(tooling): target release version owners in checkout fixture
33 lines
1.9 KiB
YAML
33 lines
1.9 KiB
YAML
name: Prepare the Windows agent hook
|
|
description: Compiles native/windows-agent-hook into native/windows-agent-hook/.build/orca-agent-hook.exe, which electron-builder --win refuses to package without.
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Resolve the Windows Rust build scope
|
|
id: rust-scope
|
|
if: runner.os == 'Windows'
|
|
shell: bash
|
|
run: node config/scripts/native-build/windows/windows-rust-build-scope.mjs >> "$GITHUB_OUTPUT"
|
|
|
|
# Source globs, not crate/**: target/ and .build/ can already exist when this key is computed.
|
|
# Real inputs only: older restores are safe because the build re-checks the exe's fingerprint.
|
|
- name: Cache the Windows agent hook build
|
|
if: runner.os == 'Windows'
|
|
uses: actions/cache@v5
|
|
with:
|
|
path: |
|
|
native/windows-agent-hook/.build
|
|
native/windows-agent-hook/target
|
|
~/.cargo/registry
|
|
key: windows-agent-hook-v2-${{ runner.os }}-${{ runner.arch }}-${{ steps.rust-scope.outputs.toolchain }}-${{ steps.rust-scope.outputs.app-version }}-${{ hashFiles('native/windows-agent-hook/src/**', 'native/windows-agent-hook/build.rs', 'native/windows-agent-hook/Cargo.toml', 'native/windows-agent-hook/Cargo.lock', 'native/windows-agent-hook/app.manifest', 'native/windows-agent-hook/.cargo/**', 'config/scripts/native-build/windows/build-windows-agent-hook.mjs', 'config/scripts/native-build/windows/windows-rust-executable-build.mjs', 'config/scripts/native-build/windows/windows-pe-imports.mjs', 'resources/build/icon.ico') }}
|
|
restore-keys: |
|
|
windows-agent-hook-v2-${{ runner.os }}-${{ runner.arch }}-${{ steps.rust-scope.outputs.toolchain }}-
|
|
|
|
- name: Build the Windows agent hook
|
|
if: runner.os == 'Windows'
|
|
shell: pwsh
|
|
run: |
|
|
node config/scripts/native-build/windows/build-windows-agent-hook.mjs
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|