Skip to content

Commit cda43b2

Browse files
Add GitHub Actions CI pipeline
1 parent b716021 commit cda43b2

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
build-and-test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install -y build-essential cmake ninja-build
19+
20+
- name: Configure
21+
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
22+
23+
- name: Build
24+
run: cmake --build build --config Release
25+
26+
- name: Run tests
27+
run: ctest --test-dir build --output-on-failure

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,15 @@ ci/hw-smoke.sh
104104
```
105105

106106
CI expectations:
107-
- `ci/security.yml` validates attestation materials and cosign signatures.
108-
- `ci/sandbox.yml` runs sandbox workflow scenarios with telemetry fuzzing.
107+
- `.github/workflows/ci.yml` runs the public GitHub Actions pipeline (configure, build, unit and integration tests).
108+
- `ci/pipeline.yml` runs the default lint/build/test stages used by the OSS mirror.
109109
- `ci/hw-smoke.sh` executes on bare metal to verify MSR/perf integration and metrics TLS.
110110

111+
> **Note**
112+
> Historical documentation referenced `ci/security.yml` and `ci/sandbox.yml` for supply-chain and fuzzing coverage. Those
113+
> workflows are not currently part of this repository. Security attestation validation and sandbox fuzzing remain roadmap
114+
> items and should be treated as future work until corresponding workflows land.
115+
111116
## Packaging
112117

113118
- `packaging/Dockerfile` builds a minimal container with the dispatcher defaulting to health checks on startup.

0 commit comments

Comments
 (0)