Repository navigation
75 lines (71 loc) · 2.41 KB
/
Copy pathsecurity-native.yml
File metadata and controls
75 lines (71 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Security native fixture
on:
workflow_call: {}
pull_request:
branches: [main, release, "epic/**"]
paths:
- .github/workflows/security-native.yml
- .gitmodules
- vendor/tinysecurity
- crates/openhuman-core/Cargo.toml
- crates/openhuman-embed/Cargo.toml
- crates/openhuman-embed/src/runtime/**
- crates/openhuman-embed/tests/security_live_scope.rs
- crates/openhuman-embed/tests/security_second_runtime.rs
- crates/openhuman-tinyhumans/Cargo.toml
- crates/openhuman-rpc/Cargo.toml
- crates/openhuman-cli/Cargo.toml
- crates/openhuman-tui/Cargo.toml
- crates/openhuman-app/Cargo.toml
- crates/openhuman-core/src/modules/mod.rs
- crates/openhuman-core/src/modules/ops.rs
- crates/openhuman-core/src/modules/runtime.rs
- crates/openhuman-core/src/modules/security/**
- crates/openhuman-core/src/modules/registry/records_security.rs
- scripts/ci/product-features.txt
- scripts/ci/check-security-module-dependencies.mjs
- scripts/lib/module-pin-inventory.mjs
- scripts/ci/security-native-fixture.sh
- Cargo.lock
workflow_dispatch: {}
permissions:
contents: read
concurrency:
group: security-native-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
native:
name: Native policy fixture (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-24.04
module_host_key: ubuntu-24.04-x86_64
- os: macos-15
module_host_key: macos-15-arm64
- os: windows-2025
module_host_key: windows-2025-x86_64
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- name: Enable long Git paths
if: runner.os == 'Windows'
run: git config --global core.longpaths true
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: false
- name: Fetch submodules
shell: bash
run: git submodule update --init --recursive
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: . -> target
key: security-native-${{ runner.os }}
- name: Run native release fixture
shell: bash
env:
OH_MODULE_HOST_KEY: ${{ matrix.module_host_key }}
run: bash scripts/ci/security-native-fixture.sh