Skip to content

Commit 864b475

Browse files
refactor: drop phase-era naming from all tracked files
- Rename all CMake presets: foundation -> no qualifier (default dev experience), linux-hardware explicit for hardware path dev-foundation-debug -> dev-debug dev-foundation-release -> dev-release dev-windows-foundation-{debug,release} -> dev-windows-{debug,release} dev-linux-{debug,release} -> dev-linux-hardware-{debug,release} ci-foundation-release -> ci-linux-release ci-windows-foundation-release -> ci-windows-release ci-linux-release (hardware) -> ci-linux-hardware-release - Rename test binary/label/prefix: phase1_shell_test.cpp -> shell_test.cpp (git mv, history preserved) provider_phase1_shell_tests -> provider_shell_tests label phase1 -> shell, prefix provider.phase1. -> provider.shell. - Remove Phase X narrative from all source and doc files - Update CI job IDs: foundation-linux -> no-hardware-linux, etc. - Update all scripts and README references to new preset and suite names 87/87 tests pass under dev-windows-debug
1 parent 14736ba commit 864b475

21 files changed

Lines changed: 173 additions & 183 deletions

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ permissions:
2828
contents: read
2929

3030
jobs:
31-
foundation-linux:
32-
name: Foundation Build and Test (Linux, no hardware)
31+
no-hardware-linux:
32+
name: Linux Build and Test (no hardware)
3333
runs-on: ubuntu-24.04
3434
timeout-minutes: 30
3535

@@ -65,18 +65,18 @@ jobs:
6565

6666
- name: Configure
6767
working-directory: anolis-provider-bread
68-
run: cmake --preset ci-foundation-release
68+
run: cmake --preset ci-linux-release
6969

7070
- name: Build
7171
working-directory: anolis-provider-bread
72-
run: cmake --build --preset ci-foundation-release --parallel
72+
run: cmake --build --preset ci-linux-release --parallel
7373

7474
- name: Test
7575
working-directory: anolis-provider-bread
76-
run: ctest --preset ci-foundation-release
76+
run: ctest --preset ci-linux-release
7777

78-
foundation-windows:
79-
name: Foundation Build and Test (Windows, no hardware)
78+
no-hardware-windows:
79+
name: Windows Build and Test (no hardware)
8080
runs-on: windows-2022
8181
timeout-minutes: 45
8282

@@ -108,14 +108,14 @@ jobs:
108108
- name: Configure
109109
working-directory: anolis-provider-bread
110110
shell: pwsh
111-
run: cmake --preset ci-windows-foundation-release
111+
run: cmake --preset ci-windows-release
112112

113113
- name: Build
114114
working-directory: anolis-provider-bread
115115
shell: pwsh
116-
run: cmake --build --preset ci-windows-foundation-release --parallel
116+
run: cmake --build --preset ci-windows-release --parallel
117117

118118
- name: Test
119119
working-directory: anolis-provider-bread
120120
shell: pwsh
121-
run: ctest --preset ci-windows-foundation-release
121+
run: ctest --preset ci-windows-release

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if(WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
2020
"Unsupported Windows toolchain/triplet combination:\n"
2121
" compiler: ${CMAKE_CXX_COMPILER_ID}\n"
2222
" VCPKG_TARGET_TRIPLET: '${_provider_triplet}'\n"
23-
"Use MSVC presets (`dev-windows-foundation-debug`, `dev-windows-foundation-release`),\n"
23+
"Use MSVC presets (`dev-windows-debug`, `dev-windows-release`),\n"
2424
"or select an explicit MinGW triplet (e.g. x64-mingw-dynamic)."
2525
)
2626
endif()
@@ -78,8 +78,8 @@ if(ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE)
7878
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
7979
message(FATAL_ERROR
8080
"ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE requires a Linux host build.\n"
81-
"Use a Linux configure preset for real hardware work, or disable hardware integration\n"
82-
"for foundation-only configuration on other platforms."
81+
"Use a Linux hardware preset (dev-linux-hardware-debug, dev-linux-hardware-release)\n"
82+
"or configure with ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE=OFF on other platforms."
8383
)
8484
endif()
8585

CMakePresets.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -39,39 +39,39 @@
3939
}
4040
},
4141
{
42-
"name": "dev-foundation-debug",
42+
"name": "dev-debug",
4343
"inherits": "base",
4444
"cacheVariables": {
4545
"CMAKE_BUILD_TYPE": "Debug",
4646
"ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE": "OFF"
4747
}
4848
},
4949
{
50-
"name": "dev-foundation-release",
50+
"name": "dev-release",
5151
"inherits": "base",
5252
"cacheVariables": {
5353
"CMAKE_BUILD_TYPE": "Release",
5454
"ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE": "OFF"
5555
}
5656
},
5757
{
58-
"name": "dev-windows-foundation-debug",
58+
"name": "dev-windows-debug",
5959
"inherits": "base-windows-msvc",
6060
"cacheVariables": {
6161
"CMAKE_BUILD_TYPE": "Debug",
6262
"ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE": "OFF"
6363
}
6464
},
6565
{
66-
"name": "dev-windows-foundation-release",
66+
"name": "dev-windows-release",
6767
"inherits": "base-windows-msvc",
6868
"cacheVariables": {
6969
"CMAKE_BUILD_TYPE": "Release",
7070
"ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE": "OFF"
7171
}
7272
},
7373
{
74-
"name": "dev-linux-debug",
74+
"name": "dev-linux-hardware-debug",
7575
"inherits": "linux-hardware-base",
7676
"cacheVariables": {
7777
"CMAKE_BUILD_TYPE": "Debug",
@@ -80,7 +80,7 @@
8080
}
8181
},
8282
{
83-
"name": "dev-linux-release",
83+
"name": "dev-linux-hardware-release",
8484
"inherits": "linux-hardware-base",
8585
"cacheVariables": {
8686
"CMAKE_BUILD_TYPE": "Release",
@@ -89,21 +89,21 @@
8989
}
9090
},
9191
{
92-
"name": "ci-linux-release",
93-
"inherits": "dev-linux-release",
92+
"name": "ci-linux-hardware-release",
93+
"inherits": "dev-linux-hardware-release",
9494
"cacheVariables": {
9595
"ANOLIS_PROVIDER_BREAD_WARNINGS_AS_ERRORS": "ON"
9696
}
9797
},
9898
{
99-
"name": "ci-foundation-release",
100-
"inherits": "dev-foundation-release",
99+
"name": "ci-linux-release",
100+
"inherits": "dev-release",
101101
"cacheVariables": {
102102
"ANOLIS_PROVIDER_BREAD_WARNINGS_AS_ERRORS": "ON"
103103
}
104104
},
105105
{
106-
"name": "ci-windows-foundation-release",
106+
"name": "ci-windows-release",
107107
"inherits": "base-windows-msvc",
108108
"cacheVariables": {
109109
"CMAKE_BUILD_TYPE": "Release",
@@ -114,107 +114,107 @@
114114
],
115115
"buildPresets": [
116116
{
117-
"name": "dev-foundation-debug",
118-
"configurePreset": "dev-foundation-debug"
117+
"name": "dev-debug",
118+
"configurePreset": "dev-debug"
119119
},
120120
{
121-
"name": "dev-foundation-release",
122-
"configurePreset": "dev-foundation-release"
121+
"name": "dev-release",
122+
"configurePreset": "dev-release"
123123
},
124124
{
125-
"name": "dev-windows-foundation-debug",
126-
"configurePreset": "dev-windows-foundation-debug",
125+
"name": "dev-windows-debug",
126+
"configurePreset": "dev-windows-debug",
127127
"configuration": "Debug"
128128
},
129129
{
130-
"name": "dev-windows-foundation-release",
131-
"configurePreset": "dev-windows-foundation-release",
130+
"name": "dev-windows-release",
131+
"configurePreset": "dev-windows-release",
132132
"configuration": "Release"
133133
},
134134
{
135-
"name": "dev-linux-debug",
136-
"configurePreset": "dev-linux-debug"
135+
"name": "dev-linux-hardware-debug",
136+
"configurePreset": "dev-linux-hardware-debug"
137137
},
138138
{
139-
"name": "dev-linux-release",
140-
"configurePreset": "dev-linux-release"
139+
"name": "dev-linux-hardware-release",
140+
"configurePreset": "dev-linux-hardware-release"
141141
},
142142
{
143-
"name": "ci-linux-release",
144-
"configurePreset": "ci-linux-release"
143+
"name": "ci-linux-hardware-release",
144+
"configurePreset": "ci-linux-hardware-release"
145145
},
146146
{
147-
"name": "ci-foundation-release",
148-
"configurePreset": "ci-foundation-release"
147+
"name": "ci-linux-release",
148+
"configurePreset": "ci-linux-release"
149149
},
150150
{
151-
"name": "ci-windows-foundation-release",
152-
"configurePreset": "ci-windows-foundation-release",
151+
"name": "ci-windows-release",
152+
"configurePreset": "ci-windows-release",
153153
"configuration": "Release"
154154
}
155155
],
156156
"testPresets": [
157157
{
158-
"name": "dev-foundation-debug",
159-
"configurePreset": "dev-foundation-debug",
158+
"name": "dev-debug",
159+
"configurePreset": "dev-debug",
160160
"output": {
161161
"outputOnFailure": true
162162
}
163163
},
164164
{
165-
"name": "dev-foundation-release",
166-
"configurePreset": "dev-foundation-release",
165+
"name": "dev-release",
166+
"configurePreset": "dev-release",
167167
"output": {
168168
"outputOnFailure": true
169169
}
170170
},
171171
{
172-
"name": "dev-windows-foundation-debug",
173-
"configurePreset": "dev-windows-foundation-debug",
172+
"name": "dev-windows-debug",
173+
"configurePreset": "dev-windows-debug",
174174
"configuration": "Debug",
175175
"output": {
176176
"outputOnFailure": true
177177
}
178178
},
179179
{
180-
"name": "dev-windows-foundation-release",
181-
"configurePreset": "dev-windows-foundation-release",
180+
"name": "dev-windows-release",
181+
"configurePreset": "dev-windows-release",
182182
"configuration": "Release",
183183
"output": {
184184
"outputOnFailure": true
185185
}
186186
},
187187
{
188-
"name": "dev-linux-debug",
189-
"configurePreset": "dev-linux-debug",
188+
"name": "dev-linux-hardware-debug",
189+
"configurePreset": "dev-linux-hardware-debug",
190190
"output": {
191191
"outputOnFailure": true
192192
}
193193
},
194194
{
195-
"name": "dev-linux-release",
196-
"configurePreset": "dev-linux-release",
195+
"name": "dev-linux-hardware-release",
196+
"configurePreset": "dev-linux-hardware-release",
197197
"output": {
198198
"outputOnFailure": true
199199
}
200200
},
201201
{
202-
"name": "ci-linux-release",
203-
"configurePreset": "ci-linux-release",
202+
"name": "ci-linux-hardware-release",
203+
"configurePreset": "ci-linux-hardware-release",
204204
"output": {
205205
"outputOnFailure": true
206206
}
207207
},
208208
{
209-
"name": "ci-foundation-release",
210-
"configurePreset": "ci-foundation-release",
209+
"name": "ci-linux-release",
210+
"configurePreset": "ci-linux-release",
211211
"output": {
212212
"outputOnFailure": true
213213
}
214214
},
215215
{
216-
"name": "ci-windows-foundation-release",
217-
"configurePreset": "ci-windows-foundation-release",
216+
"name": "ci-windows-release",
217+
"configurePreset": "ci-windows-release",
218218
"configuration": "Release",
219219
"output": {
220220
"outputOnFailure": true

CONTRIBUTING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,36 +40,36 @@ See [docs/build.md](docs/build.md) for the full prerequisites list.
4040

4141
All standard workflows use CMake presets.
4242

43-
### Foundation (no hardware required, runs everywhere)
43+
### No Hardware (runs everywhere)
4444

4545
```bash
46-
cmake --preset dev-foundation-debug
47-
cmake --build --preset dev-foundation-debug
48-
ctest --preset dev-foundation-debug
46+
cmake --preset dev-debug
47+
cmake --build --preset dev-debug
48+
ctest --preset dev-debug
4949
```
5050

5151
On Windows with MSVC, use the `-windows-` variants:
5252

5353
```powershell
54-
cmake --preset dev-windows-foundation-debug
55-
cmake --build --preset dev-windows-foundation-debug
56-
ctest --preset dev-windows-foundation-debug
54+
cmake --preset dev-windows-debug
55+
cmake --build --preset dev-windows-debug
56+
ctest --preset dev-windows-debug
5757
```
5858

5959
### Linux hardware path
6060

6161
```bash
62-
cmake --preset dev-linux-debug
63-
cmake --build --preset dev-linux-debug
64-
ctest --preset dev-linux-debug
62+
cmake --preset dev-linux-hardware-debug
63+
cmake --build --preset dev-linux-hardware-debug
64+
ctest --preset dev-linux-hardware-debug
6565
```
6666

6767
This requires the sibling `linux-wire` repo and a real I2C bus.
6868

6969
### Validating a config without running the provider
7070

7171
```bash
72-
./build/dev-foundation-debug/anolis-provider-bread --check-config config/example.local.yaml
72+
./build/dev-debug/anolis-provider-bread --check-config config/example.local.yaml
7373
```
7474

7575
---
@@ -158,5 +158,5 @@ To watch logs while piping the provider into a runtime or test harness:
158158

159159
For hardware path issues, match the `[WARN]` / `[ERROR]` probe lines against [docs/troubleshooting.md](docs/troubleshooting.md).
160160

161-
The foundation build (`ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE=OFF`) runs without I2C hardware.
162-
If a hardware-path behavior is hard to reproduce, first verify the same path through the foundation build with a config-seeded inventory before debugging hardware specifically.
161+
The no-hardware build (`ANOLIS_PROVIDER_BREAD_ENABLE_HARDWARE=OFF`) runs without I2C hardware.
162+
If a hardware-path behavior is hard to reproduce, first verify the same path through the no-hardware build with a config-seeded inventory before debugging hardware specifically.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BREAD hardware provider for the Anolis runtime.
66

77
Implements the Anolis Device Provider Protocol (ADPP) v1 over BREAD-over-CRUMBS, exposing RLHT
88
and DCMT devices to the Anolis runtime via framed stdio. Supports Linux hardware integration and a
9-
hardware-free foundation build for development and CI.
9+
hardware-free no-hardware build for development and CI.
1010

1111
Repository documentation:
1212

TODO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Items here are explicitly deferred and intentional. They are not omissions or ac
44

55
## Hardware CI
66

7-
- [ ] Add self-hosted CI runner for the Linux hardware path (`ci-linux-release`) against real BREAD devices.
8-
The foundation CI lane (Linux + Windows, no hardware) covers all unit and shell tests.
7+
- [ ] Add self-hosted CI runner for the Linux hardware path (`ci-linux-hardware-release`) against real BREAD devices.
8+
The no-hardware CI lane (Linux + Windows, no hardware) covers all unit and shell tests.
99
Hardware-in-the-loop validation requires a dedicated runner; deferred until hardware lab is available.
1010

1111
## ARM64 Support

0 commit comments

Comments
 (0)