-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 719 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (24 loc) · 719 Bytes
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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install host-bridge deps (GLib/GIO)
run: |
sudo apt-get update
sudo apt-get install -y libglib2.0-dev pkg-config
- name: Configure (core + tests + bridge)
run: cmake -S . -B build -DAGENTGATT_BUILD_TESTS=ON -DAGENTGATT_BUILD_BRIDGE=ON
- name: Build
run: cmake --build build
- name: Test
run: ctest --test-dir build --output-on-failure
- name: Validate identifier registry
run: python3 tools/validate_registry.py