@@ -163,19 +163,21 @@ jobs:
163163 if ($LASTEXITCODE -ne 0) { throw "profile $profile debug merge failed" }
164164 }
165165
166- & build-lsg-win\Release\lsg_compile.exe labs\lsg\assets\profiles\character_0.lsg.json build-lsg-win\Release\character_0.lsg
167- & build-lsg-win\Release\lsg_compile.exe labs\lsg\assets\profiles\character_1.lsg.json build-lsg-win\Release\character_1.lsg
168- & build-lsg-win\Release\lsg_compile.exe labs\lsg\assets\profiles\character_2_ada.lsg.json build-lsg-win\Release\character_2.lsg
166+ New-Item -ItemType Directory -Force build-lsg-win\Release\profiles | Out-Null
167+ & build-lsg-win\Release\lsg_compile.exe labs\lsg\assets\profiles\character_0.lsg.json build-lsg-win\Release\profiles\character_0.lsg
168+ & build-lsg-win\Release\lsg_compile.exe labs\lsg\assets\profiles\character_1.lsg.json build-lsg-win\Release\profiles\character_1.lsg
169+ & build-lsg-win\Release\lsg_compile.exe labs\lsg\assets\profiles\character_2_ada.lsg.json build-lsg-win\Release\profiles\character_2.lsg
170+ Copy-Item labs\lsg\assets\registry.lsgr build-lsg-win\Release\registry.lsgr -Force
169171 if (!(Test-Path 'build-lsg-win\Release\meshes\human_carrier_male.rmesh')) { throw 'Male carrier RMS0 missing' }
170172 if (!(Test-Path 'build-lsg-win\Release\meshes\human_carrier_female.rmesh')) { throw 'Female carrier RMS0 missing' }
171173 if (!(Test-Path 'build-lsg-win\Release\meshes\eye_carrier_male.rmesh')) { throw 'Male eye carrier RMS0 missing' }
172174 if (!(Test-Path 'build-lsg-win\Release\meshes\eye_carrier_female.rmesh')) { throw 'Female eye carrier RMS0 missing' }
173175 if ((Get-FileHash build-lsg-win\Release\meshes\human_carrier_male.rmesh).Hash -eq (Get-FileHash build-lsg-win\Release\meshes\human_carrier_female.rmesh).Hash) {
174176 throw 'macro profile meshes are unexpectedly identical'
175177 }
176- if (!(Test-Path 'build-lsg-win\Release\character_0.lsg')) { throw 'Character 0 genome missing' }
177- if (!(Test-Path 'build-lsg-win\Release\character_1.lsg')) { throw 'Character 1 genome missing' }
178- if (!(Test-Path 'build-lsg-win\Release\character_2.lsg')) { throw 'Character 2 / Ada genome missing' }
178+ if (!(Test-Path 'build-lsg-win\Release\profiles\ character_0.lsg')) { throw 'Character 0 genome missing' }
179+ if (!(Test-Path 'build-lsg-win\Release\profiles\ character_1.lsg')) { throw 'Character 1 genome missing' }
180+ if (!(Test-Path 'build-lsg-win\Release\profiles\ character_2.lsg')) { throw 'Character 2 / Ada genome missing' }
179181
180182 - name : Build tests and viewer
181183 run : cmake --build build-lsg-win --config Release --target rengine_lsg_tests lsg_shadow_filter_tests rengine_lsg_viewer --parallel 2
@@ -186,9 +188,9 @@ jobs:
186188 run : |
187189 & build-lsg-win\Release\lsg_report.exe `
188190 build-lsg-win\Release `
189- build-lsg-win\Release\character_0.lsg `
190- build-lsg-win\Release\character_1.lsg `
191- build-lsg-win\Release\character_2.lsg `
191+ build-lsg-win\Release\profiles\ character_0.lsg `
192+ build-lsg-win\Release\profiles\ character_1.lsg `
193+ build-lsg-win\Release\profiles\ character_2.lsg `
192194 | Tee-Object -FilePath build-lsg-win\Release\lsg-acceptance-report.txt
193195 if ($LASTEXITCODE -ne 0) { throw 'LSG storage contract failed' }
194196 if (-not (Select-String -Path build-lsg-win\Release\lsg-acceptance-report.txt -Pattern 'LSG STORAGE CONTRACT PASS' -Quiet)) {
@@ -220,6 +222,10 @@ jobs:
220222 if (!(Test-Path 'build-lsg-win\Release\meshes\eye_carrier_male.rmesh')) { throw 'Male eye carrier RMS0 missing beside EXE' }
221223 if (!(Test-Path 'build-lsg-win\Release\meshes\eye_carrier_female.rmesh')) { throw 'Female eye carrier RMS0 missing beside EXE' }
222224 if (Test-Path 'build-lsg-win\Release\meshes\eye_profile_2.rmesh') { throw 'Unexpected Character 2 eye carrier duplicate beside EXE' }
225+ if (!(Test-Path 'build-lsg-win\Release\registry.lsgr')) { throw 'runtime registry missing beside EXE' }
226+ if (!(Test-Path 'build-lsg-win\Release\profiles\character_0.lsg')) { throw 'runtime profile 0 missing beside EXE' }
227+ if (!(Test-Path 'build-lsg-win\Release\profiles\character_1.lsg')) { throw 'runtime profile 1 missing beside EXE' }
228+ if (!(Test-Path 'build-lsg-win\Release\profiles\character_2.lsg')) { throw 'runtime profile 2 missing beside EXE' }
223229 if (!(Test-Path 'build-lsg-win\Release\lsg-acceptance-report.txt')) { throw 'storage report missing' }
224230 if (!(Test-Path 'build-lsg-win\Release\lsg-mesh-audit-profile-0.txt')) { throw 'Character 0 mesh continuity report missing' }
225231 if (!(Test-Path 'build-lsg-win\Release\lsg-mesh-audit-profile-1.txt')) { throw 'Character 1 mesh continuity report missing' }
@@ -230,6 +236,8 @@ jobs:
230236 build-lsg-win/Release/rengine_lsg_viewer.exe
231237 build-lsg-win/Release/shaders
232238 build-lsg-win/Release/meshes
239+ build-lsg-win/Release/profiles
240+ build-lsg-win/Release/registry.lsgr
233241 build-lsg-win/Release/lsg-acceptance-report.txt
234242 build-lsg-win/Release/lsg-mesh-audit-profile-0.txt
235243 build-lsg-win/Release/lsg-mesh-audit-profile-1.txt
0 commit comments