Repository navigation
1243 lines (1104 loc) · 58.6 KB
/
Copy pathverify.yml
File metadata and controls
1243 lines (1104 loc) · 58.6 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
name: Verify
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
inputs:
version:
description: Unpublished candidate version to qualify
default: "0.1.09"
type: string
snap_source_run:
description: Diagnostic Snap only using candidate-linux-x64 from this explicit prior Verify run; no publication
default: ''
type: string
permissions:
contents: read
jobs:
diagnostic-snap:
name: Diagnostic Snap (unqualified; no publication)
if: inputs.snap_source_run != ''
permissions:
contents: read
actions: read
uses: ./.github/workflows/snap-qualification.yml
with:
version: ${{ inputs.version || '0.1.09' }}
artifact: candidate-linux-x64
source-run: ${{ inputs.snap_source_run }}
qualify-snap:
if: inputs.snap_source_run == ''
permissions:
contents: read
actions: read
name: Installed Snap (unpublished)
needs: verify-linux
uses: ./.github/workflows/snap-qualification.yml
with:
version: ${{ inputs.version || '0.1.09' }}
artifact: candidate-linux-x64
support-packages:
if: inputs.snap_source_run == ''
uses: ./.github/workflows/support-qualification.yml
with:
version: ${{ inputs.version || '0.1.09' }}
verify-python-tools:
if: inputs.snap_source_run == ''
name: Python tooling
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: '3.12'
- name: Install Python tooling test dependencies
run: python -m pip install numpy==2.4.2 soundfile==0.13.1 cryptography==46.0.3 PyYAML==6.0.3 pyelftools==0.32
- name: Check first-party product names
run: python3 tools/check-product-naming.py
- name: Check UI coverage inventory
run: python3 tools/check-ui-coverage-inventory.py
- name: Run Python tooling unit tests
run: >-
python3 -m unittest
tests.test_release_notes
tests.test_release_build_policy
tests.test_support_identity
tests.test_build_process_lifecycle
tests.test_juce_lv2_identifier_patch
tests.test_juce_mac_browser_navigation_patch
tests.test_linux_qualification
tests.test_linux_native_packaging
tests.test_linux_abi
tests.test_ai_model_cache
tests.test_stem_model_downloads
tests.test_updater_manifest
tests.test_store_submission
tests.test_store_diagnosis
tests.test_store_recovery
tests.test_store_release_workflow
tests.test_snap_release
tests.test_ai_runtime_dependency_pins
tests.test_ai_memory_manager
tests.test_ai_telemetry
tests.test_stem_worker
tests.test_stem_installation_qualification
tests.test_release_ai_runtime
tests.test_ai_runtime_release
tests.test_prepare_ai_runtime_pip
tests.test_install_ai_tools_feature_gating
tests.test_install_ai_tools_runtime_repair
tests.test_prepare_diffusers_audio
tests.test_diffusers_memory_policy
tests.test_reverb_qa_tools
tests.test_nam_fuzz_refinement
tests.test_desktop_qualification
tests.test_free_suite_ui_regression
verify-stem-installation:
if: inputs.snap_source_run == ''
name: Fresh installer to real CPU stem separation
runs-on: windows-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: '3.12'
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: |
.cache/stem-qualification
.cache/stem-models
~\AppData\Local\pip\Cache
key: windows-stem-flow-${{ hashFiles('tools/ai-runtime-install-plan*.json', 'tools/qualify_stem_installation.py') }}
- name: Stage the app's pinned FFmpeg runtime for the source worker
shell: pwsh
run: ./tools/setup-ffmpeg.ps1
- name: Install from the public base and separate non-silent audio
run: >-
python tools/qualify_stem_installation.py
--output-dir output/stem-installation-ci
--catalog https://openstudio.org.in/releases/ai-runtime/stable/latest.json
--backend cpu --expected-auto-backend cpu
--models-dir .cache/stem-models
--timeout 1800
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: always()
with:
name: stem-installation-cpu
path: |
output/stem-installation-ci/report.json
output/stem-installation-ci/*.log
output/stem-installation-ci/separation/report.json
output/stem-installation-ci/separation/*.log
output/stem-installation-ci/streaming-separation/report.json
output/stem-installation-ci/streaming-separation/*.log
if-no-files-found: error
verify-ai-policy:
if: inputs.snap_source_run == ''
name: AI execution policy (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-latest, macos-15]
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: '3.12'
- name: Install lightweight audio test dependencies
run: python -m pip install numpy==2.4.2 soundfile==0.13.1 psutil==7.2.2 filelock==4.2.4
- name: Verify device budgets and model routing without GPU dependencies
run: python -m unittest tests.test_ai_execution_policy tests.test_ai_benchmark tests.test_diffusers_memory_policy tests.test_ace_diffusers_generation tests.test_ai_generation_preflight tests.test_ai_memory_manager tests.test_generation_automatic_memory tests.test_ai_compilation tests.test_ai_compiler_setup tests.test_ai_layerwise_storage tests.test_ai_rocm_startup tests.test_stem_acceleration tests.test_stem_worker tests.test_stem_installation_qualification tests.test_ai_runtime_dependency_pins
- name: Cache macOS standalone Python and AI wheels
if: runner.os == 'macOS'
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: |
.cache/ai-runtime
~/Library/Caches/pip
key: macos-ai-smoke-3.11.15-20260325-${{ hashFiles('tools/ai-runtime-requirements-macos.txt', 'tools/prepare-ai-runtime.ps1') }}
- name: Prepare and validate relocatable macOS AI archive
if: runner.os == 'macOS'
timeout-minutes: 45
shell: pwsh
run: |
New-Item -ItemType Directory -Force -Path dist/ai-runtime/reports | Out-Null
$runtimeRoot = Join-Path $env:RUNNER_TEMP "openstudio-ai-runtime-macos-arm64-smoke"
./tools/prepare-ai-runtime.ps1 `
-Platform macos -RuntimeRoot $runtimeRoot -Architecture arm64 `
-RuntimeFamily "macos-arm64" -RequirementsFile "tools/ai-runtime-requirements-macos.txt" `
-ExpectedRuntimeVersion "0.0.0" -StandaloneReleaseTag "20260325" `
-StandalonePythonVersion "3.11.15" -StandaloneFlavor "install_only" `
-StandaloneCacheDir ".cache/ai-runtime" `
-SizeReportPath "dist/ai-runtime/reports/macos-arm64-size-report.json"
$runtimePython = Join-Path $runtimeRoot "python/bin/python3"
& $runtimePython -c "import importlib.machinery, torch; from diffq import bitpack; assert any(bitpack.__file__.endswith(s) for s in importlib.machinery.EXTENSION_SUFFIXES), 'diffq.bitpack is not a compiled extension'; source=torch.arange(257, dtype=torch.int16).remainder(16); packed=bitpack.pack(source, nbits=4); restored=bitpack.unpack(packed, length=source.numel()); assert packed.dtype == torch.int64; assert restored.dtype == torch.int16; assert torch.equal(restored, source), 'diffq bitpack round trip mismatch'; print('diffq.bitpack native round trip passed')"
if ($LASTEXITCODE -ne 0) { throw "Compiled diffq extension round trip failed." }
./tools/package-ai-runtime.ps1 `
-Platform macos -RuntimeRoot $runtimeRoot `
-OutputPath "dist/ai-runtime/OpenStudio-AI-Runtime-macos-arm64.zip" `
-ExpectedRuntimeVersion "0.0.0" -MaxArtifactSizeBytes 2100000000
python -c "import sys; from pathlib import Path; sys.path.insert(0, 'tools'); from release_ai_runtime import validate_archive_metadata; validate_archive_metadata(Path('dist/ai-runtime/OpenStudio-AI-Runtime-macos-arm64.zip'), 'macos')"
- name: Retain qualified macOS AI smoke archive
if: runner.os == 'macOS'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: macos-ai-runtime-smoke
path: |
dist/ai-runtime/OpenStudio-AI-Runtime-macos-arm64.zip
dist/ai-runtime/reports/macos-arm64-size-report.json
if-no-files-found: error
verify-input-profiles:
if: inputs.snap_source_run == ''
name: Input profiles (${{ matrix.os }}, ${{ matrix.shard }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Fresh browser contexts load hundreds of Vite modules. Spread Windows
# cases across hosts to reduce loopback socket pressure after an
# ERR_NO_BUFFER_SPACE failure in the full suite. Keep every test and
# assertion; do not retry a failed navigation or extend UI deadlines.
include:
- { os: windows-latest, shard: '1/8', artifact: windows-1 }
- { os: windows-latest, shard: '2/8', artifact: windows-2 }
- { os: windows-latest, shard: '3/8', artifact: windows-3 }
- { os: windows-latest, shard: '4/8', artifact: windows-4 }
- { os: windows-latest, shard: '5/8', artifact: windows-5 }
- { os: windows-latest, shard: '6/8', artifact: windows-6 }
- { os: windows-latest, shard: '7/8', artifact: windows-7 }
- { os: windows-latest, shard: '8/8', artifact: windows-8 }
- { os: macos-15, shard: '1/1', artifact: macos }
- { os: ubuntu-24.04, shard: '1/4', artifact: linux-1 }
- { os: ubuntu-24.04, shard: '2/4', artifact: linux-2 }
- { os: ubuntu-24.04, shard: '3/4', artifact: linux-3 }
- { os: ubuntu-24.04, shard: '4/4', artifact: linux-4 }
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version-file: frontend/.nvmrc
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install frontend dependencies
run: npm ci
- name: Run frontend unit tests
run: npm test
- name: Typecheck interaction browser regressions
run: npm run test:e2e:types
- name: Install browsers on Linux
if: runner.os == 'Linux'
run: npx playwright install --with-deps chromium webkit
- name: Install browsers on Windows and macOS
if: runner.os != 'Linux'
run: npx playwright install chromium webkit
- name: Enable all-controls keyboard navigation for Playwright WebKit
if: runner.os == 'macOS'
run: defaults write org.webkit.Playwright AppleKeyboardUIMode -int 2
- name: Verify WebKit Tab traverses buttons on macOS
if: runner.os == 'macOS'
run: |
node --input-type=module <<'NODE'
import assert from 'node:assert/strict';
import { webkit } from '@playwright/test';
const browser = await webkit.launch();
try {
const page = await browser.newPage();
await page.setContent('<button id="first">First</button><button id="second">Second</button><button id="third">Third</button>');
await page.locator('#first').focus();
for (const [key, expected] of [['Tab', 'second'], ['Tab', 'third'], ['Shift+Tab', 'second'], ['Shift+Tab', 'first']]) {
await page.keyboard.press(key);
const actual = await page.evaluate(() => document.activeElement?.id);
assert.equal(actual, expected, `${key} must focus ${expected}; actual focus: ${actual}`);
console.log(`WebKit keyboard preflight: ${key} -> ${actual}`);
}
} finally {
await browser.close();
}
NODE
- name: Run shortcut and input-profile browser tests
run: npm run test:e2e -- --shard=${{ matrix.shard }}
- name: Remove Playwright WebKit keyboard-navigation preference
if: always() && runner.os == 'macOS'
run: defaults delete org.webkit.Playwright AppleKeyboardUIMode 2>/dev/null || true
- name: Check controls in the system WebKitGTK
if: runner.os == 'Linux' && matrix.shard == '1/4'
run: |
sudo apt-get update
sudo apt-get install -y python3-gi gir1.2-webkit2-4.1 libxtst6 xvfb xauth
npm run build
xvfb-run -a -s '-screen 0 1440x1000x24' /usr/bin/python3 ../tools/run-linux-control-ui.py --frontend-dir dist --output ../output/linux-control-ui
- name: Retain UI qualification evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: control-ui-${{ matrix.artifact }}
path: |
output/playwright/test-results
output/linux-control-ui
if-no-files-found: ignore
verify-windows:
if: inputs.snap_source_run == ''
runs-on: windows-latest
env:
VERSION: ${{ inputs.version || '0.1.09' }}
BUILD_DIR: build-verify-windows
ASIO_SDK_DIR: thirdparty/asio
ONNXRUNTIME_VERSION: 1.24.4
ONNXRUNTIME_WIN_X64_SHA256: d2319fddfb6ea4db99ccc4b60c85c517bcd855721f5daa6a06d40d7cb2ee2357
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- name: Validate candidate release notes
shell: pwsh
run: python tools/validate-release-notes.py --version "$env:VERSION"
- name: Install Inno Setup for installer regression tests
shell: pwsh
run: choco install innosetup -y --no-progress
- name: Test unattended installer and uninstall behavior
shell: pwsh
run: python tests/test_windows_installer.py --require-tools
- name: Test Windows startup qualification and process cleanup fixtures
shell: pwsh
run: python -B -m unittest tests.test_desktop_qualification tests.test_free_suite_ui_regression -v
- name: Test Windows signing safeguards
shell: pwsh
run: ./tools/test-windows-signing.ps1
- name: Test Microsoft Store packaging safeguards
shell: pwsh
run: ./tools/test-windows-store-package.ps1
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version-file: frontend/.nvmrc
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Build frontend
shell: pwsh
run: |
cd frontend
npm ci
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
npm run build
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: '3.13'
- name: Install ASIO SDK
shell: pwsh
run: ./tools/setup-asio-sdk.ps1 -Destination $env:ASIO_SDK_DIR
- name: Install ONNX Runtime
shell: pwsh
run: ./tools/setup-onnxruntime.ps1 -Version $env:ONNXRUNTIME_VERSION -ExpectedSha256 $env:ONNXRUNTIME_WIN_X64_SHA256
- name: Install checksum-pinned FFmpeg runtime
shell: pwsh
run: ./tools/setup-ffmpeg.ps1
- name: Install Windows prerequisite installers
shell: pwsh
run: |
./tools/setup-windows-prereqs.ps1
function Invoke-PrerequisiteInstaller {
param(
[Parameter(Mandatory = $true)]
[string]$Path,
[Parameter(Mandatory = $true)]
[string[]]$Arguments,
[Parameter(Mandatory = $true)]
[string]$Name
)
if (-not (Test-Path -LiteralPath $Path)) {
throw "$Name installer was not found at '$Path'."
}
$process = Start-Process -FilePath $Path -ArgumentList $Arguments -Wait -PassThru
if ($process.ExitCode -notin @(0, 3010, 1638)) {
Write-Warning "$Name installer exited with code $($process.ExitCode). Continuing so the startup self-test can report the actual runtime state."
}
}
$prereqDir = Join-Path $env:GITHUB_WORKSPACE "thirdparty/windows-prereqs"
Invoke-PrerequisiteInstaller `
-Path (Join-Path $prereqDir "vc_redist.x64.exe") `
-Arguments @("/install", "/quiet", "/norestart") `
-Name "Visual C++ Redistributable"
Invoke-PrerequisiteInstaller `
-Path (Join-Path $prereqDir "MicrosoftEdgeWebView2RuntimeInstallerX64.exe") `
-Arguments @("/silent", "/install") `
-Name "Microsoft Edge WebView2 Runtime"
- name: Configure CMake
shell: pwsh
run: |
cmake -S . -B $env:BUILD_DIR -A x64 `
"-DOPENSTUDIO_APP_VERSION=$env:VERSION" `
"-DJUCE_ASIOSDK_PATH=$env:GITHUB_WORKSPACE/$env:ASIO_SDK_DIR" `
"-DOPENSTUDIO_REQUIRE_ASIO=ON" `
"-DOPENSTUDIO_ENABLE_EXTERNAL_PYTHON_AI_FALLBACK=OFF" `
-DFETCHCONTENT_UPDATES_DISCONNECTED=ON
- name: Build OpenStudio
shell: pwsh
run: cmake --build $env:BUILD_DIR --config Release --target OpenStudio
- name: Qualify standalone offline support
shell: pwsh
run: |
python tools/build-support-tool.py --version "$env:VERSION" --stage "$env:BUILD_DIR/OpenStudio_artefacts/Release"
if ($LASTEXITCODE -ne 0) { throw 'Support build failed.' }
./.venv-support/Scripts/python.exe -m unittest tools.test_openstudio_support -q
if ($LASTEXITCODE -ne 0) { throw 'Support regression failed.' }
python tools/validate-support-tool.py --bundle output/support-package/OpenStudioSupport --version "$env:VERSION"
if ($LASTEXITCODE -ne 0) { throw 'Support inventory failed.' }
python tools/test-packaged-support.py --bundle output/support-package/OpenStudioSupport
if ($LASTEXITCODE -ne 0) { throw 'Packaged support qualification failed.' }
- name: Install Chromium for native-schema editor qualification
shell: pwsh
working-directory: frontend
run: npx playwright install chromium
- name: Verify project and preset file safety (Windows Release)
shell: pwsh
timeout-minutes: 3
run: ./tools/run-runtime-safety-regression.ps1 -AppPath "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe" -Configuration Release -SkipBuild -SkipCrashTests
- name: Qualify free FX editors with the current native schemas
shell: pwsh
timeout-minutes: 15
run: |
$exe = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
./tools/run-free-suite-ui-regression.ps1 -AppPath $exe
- name: Retain free FX editor qualification evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: free-suite-ui-windows-${{ github.run_attempt }}
path: |
output/review/free-suite-ui/editor-schemas.json
output/playwright/test-results
output/review/runtime-Release-*/contracts/result.json
output/review/runtime-Release-*/contracts/*.log
output/review/runtime-Release-*/qualification.json
if-no-files-found: warn
- name: Validate Windows runtime bundle
shell: pwsh
run: ./tools/validate-runtime-bundle.ps1 -Platform windows -BundlePath "$env:BUILD_DIR/OpenStudio_artefacts/Release" -ExpectedVersion $env:VERSION -EnforceLeanBundle
- name: Run Windows startup self-test
shell: pwsh
run: |
$report = Join-Path $env:RUNNER_TEMP "OpenStudio_StartupSelfTest.txt"
if (Test-Path $report) {
Remove-Item -LiteralPath $report -Force -ErrorAction SilentlyContinue
}
$exePath = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
$process = Start-Process -FilePath $exePath -ArgumentList @("--startup-self-test", "--report", "`"$report`"") -Wait -PassThru
if ($process.ExitCode -ne 0) {
if (Test-Path $report) {
Get-Content -LiteralPath $report
} else {
Write-Host "No self-test report was written."
$startupLog = Join-Path $env:APPDATA "OpenStudio/logs/OpenStudio_Startup.log"
if (Test-Path $startupLog) {
Get-Content -LiteralPath $startupLog
}
}
throw "Windows startup self-test failed."
}
- name: Verify signed updater and restart persistence (Windows Release)
shell: pwsh
run: |
$exe = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
$report = Join-Path $env:RUNNER_TEMP "updater-regression"
$process = Start-Process -FilePath $exe -ArgumentList @("--updater-self-test", "`"$report`"") -WindowStyle Hidden -Wait -PassThru
if ($process.ExitCode -ne 0) { throw "Signed updater regression failed." }
- name: Verify native FX processing order and automation (Windows Release)
shell: pwsh
timeout-minutes: 3
run: |
$exe = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
$report = Join-Path $env:RUNNER_TEMP "OpenStudio_FXStageAutomationRegression.json"
./tools/run-free-plugin-headless-regression.ps1 -AppPath $exe -ReportPath $report -CaseName stage-automation
- name: Verify offline realtime track safety contracts (Windows Release)
shell: pwsh
timeout-minutes: 3
run: |
Import-Module ./tools/OwnedDesktopProcess.psm1 -Force
$exe = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
$report = Join-Path $env:RUNNER_TEMP "OpenStudio_RealtimeTrackRegression.json"
$process = Start-OwnedDesktopProcess -FilePath $exe -ArgumentList @('--realtime-track-self-test', $report)
try {
if (!$process.WaitForExit(120000)) { throw 'Realtime track safety regression timed out.' }
if ($process.ExitCode -ne 0) { throw 'Realtime track safety regression failed.' }
} finally { $process.Dispose() }
$result = Get-Content -LiteralPath $report -Raw | ConvertFrom-Json
if ($result.pass -ne $true) { throw 'Realtime track report did not pass.' }
foreach ($section in @('executor', 'eligibility', 'engine')) {
if ($result.$section.pass -ne $true) { throw "Missing or failed $section contracts." }
}
foreach ($section in @('executor', 'engine')) {
if ($null -eq $result.$section.checks -or $result.$section.checks.Count -eq 0) { throw "Empty $section contracts." }
}
if ($result.eligibility.parityBlocks -le 0) { throw 'No track eligibility parity blocks were checked.' }
- name: Retain realtime track safety evidence (Windows)
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: realtime-tracks-windows-${{ github.run_attempt }}
path: ${{ runner.temp }}/OpenStudio_RealtimeTrackRegression.json
if-no-files-found: warn
- name: Retain native FX order regression evidence (Windows)
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: fx-order-windows-${{ github.run_attempt }}
path: ${{ runner.temp }}/OpenStudio_FXStageAutomationRegression.json
if-no-files-found: warn
- name: Verify signal repairs and Reverb scheduling (Windows Release)
shell: pwsh
timeout-minutes: 10
run: |
$exe = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
foreach ($case in @('signal-repairs', 'reverb-shimmer-scheduling', 'reverb-voice-options', 'dynamics-audit')) {
$report = Join-Path $env:RUNNER_TEMP "OpenStudio_$case.json"
./tools/run-free-plugin-headless-regression.ps1 -AppPath $exe -ReportPath $report -CaseName $case
}
- name: Retain native signal and scheduling evidence (Windows)
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: signal-scheduling-windows-${{ github.run_attempt }}
path: |
${{ runner.temp }}/OpenStudio_signal-repairs.json
${{ runner.temp }}/OpenStudio_reverb-shimmer-scheduling.json
${{ runner.temp }}/OpenStudio_reverb-voice-options.json
${{ runner.temp }}/OpenStudio_dynamics-audit.json
if-no-files-found: warn
- name: Run render and export regression matrix
shell: pwsh
run: |
$exePath = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
./tools/run-render-export-headless-regression.ps1 `
-AppPath $exePath `
-OutputRoot $env:RUNNER_TEMP `
-Label "ci-release" `
-TimeoutSeconds 180 `
-SkipBuild
- name: Regress WebView2 preflight from a non-writable install directory
shell: pwsh
run: |
$sourceBundle = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release"
$protectedBundle = Join-Path $env:RUNNER_TEMP "OpenStudio-Protected-Install"
Copy-Item -LiteralPath $sourceBundle -Destination $protectedBundle -Recurse
# Model Program Files precisely: the test identity may read and
# execute the bundle but may not write beside OpenStudio.exe.
$acl = New-Object System.Security.AccessControl.DirectorySecurity
$acl.SetAccessRuleProtection($true, $false)
$inheritance = [System.Security.AccessControl.InheritanceFlags]'ContainerInherit, ObjectInherit'
$none = [System.Security.AccessControl.PropagationFlags]::None
$allow = [System.Security.AccessControl.AccessControlType]::Allow
$deny = [System.Security.AccessControl.AccessControlType]::Deny
$currentUser = [Security.Principal.WindowsIdentity]::GetCurrent().Name
# GitHub-hosted Windows runners execute as an administrator. An explicit
# user deny keeps the probe non-writable while the Administrators group
# retains the delete and ACL rights needed for runner cleanup.
$acl.AddAccessRule((New-Object System.Security.AccessControl.FileSystemAccessRule(
$currentUser, 'Write', $inheritance, $none, $deny)))
$acl.AddAccessRule((New-Object System.Security.AccessControl.FileSystemAccessRule(
$currentUser, 'ReadAndExecute, Synchronize', $inheritance, $none, $allow)))
$acl.AddAccessRule((New-Object System.Security.AccessControl.FileSystemAccessRule(
'NT AUTHORITY\SYSTEM', 'FullControl', $inheritance, $none, $allow)))
$acl.AddAccessRule((New-Object System.Security.AccessControl.FileSystemAccessRule(
'BUILTIN\Administrators', 'FullControl', $inheritance, $none, $allow)))
Set-Acl -LiteralPath $protectedBundle -AclObject $acl
$writeProbe = Join-Path $protectedBundle 'must-not-write.tmp'
$writeDenied = $false
try {
[System.IO.File]::WriteAllText($writeProbe, 'probe')
} catch [System.UnauthorizedAccessException] {
$writeDenied = $true
}
if ((Test-Path -LiteralPath $writeProbe) -or -not $writeDenied) {
throw "Staged install directory remained writable."
}
$report = Join-Path $env:RUNNER_TEMP "OpenStudio_ProtectedInstallStartupSelfTest.txt"
$exePath = Join-Path $protectedBundle "OpenStudio.exe"
$process = Start-Process -FilePath $exePath -ArgumentList @("--startup-self-test", "--report", "`"$report`"") -Wait -PassThru
if ($process.ExitCode -ne 0) {
if (Test-Path -LiteralPath $report) {
Get-Content -LiteralPath $report
}
throw "WebView2 preflight failed from a non-writable install directory."
}
$reportText = [System.IO.File]::ReadAllText($report)
$userDataMatch = [regex]::Match($reportText, '(?m)^webView2UserDataPath=(.+)$')
if (-not $userDataMatch.Success) {
throw "Protected-install self-test did not report its WebView2 user-data folder."
}
$userDataPath = [System.IO.Path]::GetFullPath($userDataMatch.Groups[1].Value.Trim()).TrimEnd('\')
$protectedRoot = [System.IO.Path]::GetFullPath($protectedBundle).TrimEnd('\')
if ($userDataPath.Equals($protectedRoot, [System.StringComparison]::OrdinalIgnoreCase) -or
$userDataPath.StartsWith($protectedRoot + '\', [System.StringComparison]::OrdinalIgnoreCase)) {
throw "WebView2 user data incorrectly resolves inside the protected install tree: $userDataPath"
}
- name: Qualify protected Windows WebView startup in normal and safe modes
shell: pwsh
timeout-minutes: 15
run: |
$exePath = Join-Path $env:RUNNER_TEMP "OpenStudio-Protected-Install/OpenStudio.exe"
foreach ($mode in @('normal', 'safe')) {
foreach ($stale in @($false, $true)) {
$variant = if ($stale) { 'stale-runtime' } else { 'clean' }
$report = Join-Path $env:RUNNER_TEMP "OpenStudio_WindowLifecycleHarness-$mode-$variant.json"
./tools/run-window-lifecycle-smoke.ps1 -AppPath $exePath -ReportPath $report `
-StartupMode $mode -StaleRuntimeOverride:$stale -TimeoutSeconds 180
}
}
- name: Upload Windows native-window lifecycle report
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: window-lifecycle-windows-${{ github.run_attempt }}
path: |
${{ runner.temp }}/OpenStudio_WindowLifecycleHarness*.json
${{ runner.temp }}/OpenStudio_WindowLifecycleHarness*.startup.log
if-no-files-found: warn
- name: Run NAM Rack deterministic regression
shell: pwsh
run: |
$exePath = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
./tools/run-nam-rack-headless-regression.ps1 `
-AppPath $exePath `
-OutputRoot $env:RUNNER_TEMP `
-Label "ci-release" `
-TimeoutSeconds 360 `
-SkipBuild
- name: Qualify native AI setup through real CPU stem separation
shell: pwsh
timeout-minutes: 40
run: |
# This executes the built native host, rather than invoking the
# Python installer directly. No UI or user runtime is involved.
$exePath = Join-Path $env:GITHUB_WORKSPACE "$env:BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio.exe"
$inputPath = Join-Path $env:RUNNER_TEMP 'native-stem-input.wav'
python -c "import math,struct,wave; f=wave.open(r'$inputPath','wb'); f.setparams((2,2,44100,0,'NONE','not compressed')); f.writeframes(b''.join(struct.pack('<hh',int(8000*math.sin(i*2*math.pi*220/44100)),int(6000*math.sin(i*2*math.pi*330/44100))) for i in range(44100))); f.close()"
python tools/qualify_ai_native.py --app $exePath --output-dir "$env:RUNNER_TEMP/native-stem-qualification" --catalog https://openstudio.org.in/releases/ai-runtime/stable/latest.json --input $inputPath --expected-backend cpu --acceleration-mode cpu-only --automatic-repair-regression --timeout 1800
if ($LASTEXITCODE -ne 0) { throw 'Native installer-to-separation qualification failed.' }
$report = Get-Content -Raw "$env:RUNNER_TEMP/native-stem-qualification/native-result.json" | ConvertFrom-Json
$runtimePython = Join-Path $report.activeRuntime 'python/python.exe'
& $runtimePython -m unittest tests.test_stem_chunking tests.test_stem_streaming tests.test_ai_telemetry tests.test_ai_memory_manager
if ($LASTEXITCODE -ne 0) { throw 'Adapters failed inside the freshly installed CPU runtime.' }
$config = Get-Content -Raw "$env:RUNNER_TEMP/native-stem-qualification/configuration.json" | ConvertFrom-Json
$config | Add-Member -NotePropertyName repairRuntime -NotePropertyValue $true
$repairConfig = "$env:RUNNER_TEMP/native-stem-qualification/verify-repair.json"
$config | ConvertTo-Json -Depth 20 | Set-Content -Encoding utf8 $repairConfig
$repair = Start-Process -FilePath $exePath -ArgumentList @('--ai-native-qualification', ('"{0}"' -f $repairConfig)) -WindowStyle Hidden -Wait -PassThru
$repaired = Get-Content -Raw "$env:RUNNER_TEMP/native-stem-qualification/native-result-verify-repair.json" | ConvertFrom-Json
if ($repair.ExitCode -ne 0 -or $repaired.status -ne 'pass' -or -not $repaired.previousRuntimeStatus.available -or $report.activeRuntime -eq $repaired.activeRuntime) {
throw 'Repair of an already-ready native CPU runtime did not activate and separate successfully.'
}
- name: Retain native stem qualification evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: native-stem-windows-cpu
path: |
${{ runner.temp }}/native-stem-qualification/native-result*.json
${{ runner.temp }}/native-stem-qualification/native-host.log
${{ runner.temp }}/native-stem-qualification/automatic-upgrade.log
${{ runner.temp }}/native-stem-qualification/user-data/logs/**
if-no-files-found: warn
- name: Package complete Windows candidate without publishing
shell: pwsh
run: |
./tools/package-windows-release.ps1 -Version $env:VERSION -SourceDir "$env:BUILD_DIR/OpenStudio_artefacts/Release" -OutputDir dist/windows
./tools/package-windows-store.ps1 -Version "$env:VERSION.0" -SourceDir "$env:BUILD_DIR/OpenStudio_artefacts/Release" -OutputDir dist/store
- name: Qualify installed Windows candidate
shell: pwsh
run: |
$root = Join-Path $env:RUNNER_TEMP 'OpenStudio-installed-candidate'
$installer = (Resolve-Path 'dist/windows/OpenStudio-Setup-x64.exe').Path
$install = Start-Process -FilePath $installer -PassThru -Wait -WindowStyle Hidden -ArgumentList @('/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', '/SP-', ('/DIR="{0}"' -f $root))
if ($install.ExitCode -ne 0) { throw "Installer failed: $($install.ExitCode)" }
try {
./tools/run-window-lifecycle-smoke.ps1 -AppPath "$root/OpenStudio.exe" -ReportPath "$env:RUNNER_TEMP/candidate-installed.json" -TimeoutSeconds 300
python tools/test-packaged-support.py --bundle $root
if ($LASTEXITCODE -ne 0) { throw 'Installed support self-test failed.' }
} finally {
$uninstall = Start-Process -FilePath "$root/unins000.exe" -PassThru -Wait -WindowStyle Hidden -ArgumentList '/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART'
if ($uninstall.ExitCode -ne 0) { throw 'Candidate uninstall failed.' }
}
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: candidate-windows-x64
path: |
dist/windows/OpenStudio-Setup-x64.exe
dist/store/*.msix
dist/store/package-report.json
${{ runner.temp }}/candidate-installed*
if-no-files-found: error
verify-macos:
if: inputs.snap_source_run == ''
needs: support-packages
name: macOS native windows (${{ matrix.os }}; callback diagnostics ${{ matrix.os == 'macos-15-intel' && 'ON' || 'OFF' }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-15, macos-15-intel]
env:
VERSION: ${{ inputs.version || '0.1.09' }}
BUILD_DIR: build-verify-macos
CALLBACK_DIAGNOSTICS: ${{ matrix.os == 'macos-15-intel' && 'ON' || 'OFF' }}
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- name: Validate candidate release notes
shell: pwsh
run: python tools/validate-release-notes.py --version "$env:VERSION"
- name: Test POSIX desktop ownership and lifecycle identity
shell: bash
run: python3 -B -m unittest tests.test_desktop_qualification -v
- name: Prepare system FFmpeg for audio conversion qualification
shell: bash
run: |
if ! command -v ffmpeg >/dev/null 2>&1; then
brew install ffmpeg
fi
ffmpeg -version
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version-file: frontend/.nvmrc
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Build frontend
shell: bash
run: |
cd frontend
npm ci
npm run build
- name: Configure CMake
shell: bash
run: |
cmake -S . -B "$BUILD_DIR" \
-DCMAKE_BUILD_TYPE=Release \
-DOPENSTUDIO_ENABLE_CALLBACK_DIAGNOSTICS="$CALLBACK_DIAGNOSTICS" \
-DOPENSTUDIO_APP_VERSION="$VERSION" \
-DOPENSTUDIO_ENABLE_EXTERNAL_PYTHON_AI_FALLBACK=OFF \
-DFETCHCONTENT_UPDATES_DISCONNECTED=ON
- name: Build OpenStudio
shell: bash
run: cmake --build "$BUILD_DIR" --config Release --target OpenStudio --parallel 2
- name: Find app bundle
shell: bash
run: |
APP_BUNDLE="$(find "$BUILD_DIR" -name OpenStudio.app -type d -print -quit)"
if [ -z "$APP_BUNDLE" ]; then
echo "OpenStudio.app not found under $BUILD_DIR" >&2
exit 1
fi
echo "APP_BUNDLE=$APP_BUNDLE" >> "$GITHUB_ENV"
- name: Validate macOS runtime bundle
shell: pwsh
run: ./tools/validate-runtime-bundle.ps1 -Platform macos -BundlePath "$env:APP_BUNDLE" -ExpectedVersion "$env:VERSION" -EnforceLeanBundle
- name: Validate universal macOS executable
shell: bash
run: |
ARCHS="$(lipo -archs "$APP_BUNDLE/Contents/MacOS/OpenStudio")"
echo "OpenStudio architectures: $ARCHS"
[[ " $ARCHS " == *" arm64 "* ]]
[[ " $ARCHS " == *" x86_64 "* ]]
- name: Run macOS startup self-test
shell: bash
run: |
REPORT="$RUNNER_TEMP/OpenStudio_StartupSelfTest.txt"
"$APP_BUNDLE/Contents/MacOS/OpenStudio" --startup-self-test --report "$REPORT"
if [ $? -ne 0 ]; then
if [ -f "$REPORT" ]; then
cat "$REPORT"
fi
exit 1
fi
- name: Verify signed updater and restart persistence (macOS Release)
shell: bash
run: |
"$APP_BUNDLE/Contents/MacOS/OpenStudio" --updater-self-test "$RUNNER_TEMP/updater-regression"
"$APP_BUNDLE/Contents/Helpers/OpenStudioUpdateInstaller" --self-test "$HOME/updater-installer-regression"
- name: Verify native FX processing order and automation (macOS Release)
shell: bash
timeout-minutes: 3
run: |
REPORT="$RUNNER_TEMP/OpenStudio_FXStageAutomationRegression.json"
"$APP_BUNDLE/Contents/MacOS/OpenStudio" --free-plugin-regression-headless --report "$REPORT" --case stage-automation
python3 -c 'import json, sys; result = json.load(open(sys.argv[1], encoding="utf-8")); assert result["overallPass"] is True and result["selectedCase"] == "stage-automation" and result["checks"], result' "$REPORT"
- name: Verify offline realtime track safety contracts (macOS Release)
shell: bash
timeout-minutes: 3
run: |
REPORT="$RUNNER_TEMP/OpenStudio_RealtimeTrackRegression.json"
"$APP_BUNDLE/Contents/MacOS/OpenStudio" --realtime-track-self-test "$REPORT"
python3 -c 'import json, sys; result = json.load(open(sys.argv[1], encoding="utf-8")); assert result["pass"] is True and all(result[key]["pass"] is True for key in ("executor", "eligibility", "engine")) and all(result[key]["checks"] for key in ("executor", "engine")) and result["eligibility"]["parityBlocks"] > 0, result' "$REPORT"
- name: Verify project and preset file safety (macOS Release)
shell: pwsh
timeout-minutes: 3
run: ./tools/run-runtime-safety-regression.ps1 -AppPath "$env:APP_BUNDLE/Contents/MacOS/OpenStudio" -Configuration Release -SkipBuild -SkipCrashTests
- name: Retain realtime track safety evidence (macOS)
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: realtime-tracks-${{ matrix.os }}-${{ github.run_attempt }}
path: |
${{ runner.temp }}/OpenStudio_RealtimeTrackRegression.json
output/review/runtime-Release-*/contracts/result.json
output/review/runtime-Release-*/contracts/*.log
output/review/runtime-Release-*/qualification.json
if-no-files-found: warn
- name: Retain native FX order regression evidence (macOS)
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: fx-order-${{ matrix.os }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/OpenStudio_FXStageAutomationRegression.json
if-no-files-found: warn
- name: Run macOS native-window lifecycle smoke test
shell: pwsh
run: |
$executable = Join-Path $env:APP_BUNDLE "Contents/MacOS/OpenStudio"
$report = Join-Path $env:RUNNER_TEMP "OpenStudio_WindowLifecycleHarness.json"
./tools/run-window-lifecycle-smoke.ps1 -AppPath $executable -ReportPath $report -TimeoutSeconds 180
- name: Upload macOS native-window lifecycle report
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: window-lifecycle-${{ matrix.os }}-${{ github.run_attempt }}
path: |
${{ runner.temp }}/OpenStudio_WindowLifecycleHarness.json
${{ runner.temp }}/OpenStudio_WindowLifecycleHarness.startup.log
if-no-files-found: warn
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
if: env.CALLBACK_DIAGNOSTICS == 'OFF'
with:
name: support-macos-universal
path: output/support-universal
- name: Package complete macOS candidate without notarization or publication
if: env.CALLBACK_DIAGNOSTICS == 'OFF'
shell: bash
env:
MACOS_CODESIGN_KIND: ad-hoc
run: |
tar -xzf output/support-universal/support-macos-universal.tgz -C output/support-universal
ditto output/support-universal/OpenStudioSupport.app "$APP_BUNDLE/Contents/Helpers/OpenStudioSupport.app"
ditto 'output/support-universal/OpenStudio Support.app' "$BUILD_DIR/OpenStudio_artefacts/Release/OpenStudio Support.app"
bash tools/package-macos-release.sh "$APP_BUNDLE" "$VERSION" dist/macos
- name: Qualify installed apps from the finished candidate DMG
if: env.CALLBACK_DIAGNOSTICS == 'OFF'
run: python3 tools/test-macos-candidate.py --dmg dist/macos/OpenStudio-macOS.dmg --version "$VERSION" --output "$RUNNER_TEMP/candidate-macos-installed"
- name: Check callback diagnostic build contract
shell: pwsh
run: ./tools/run-render-export-headless-regression.ps1 -AppPath "$env:APP_BUNDLE/Contents/MacOS/OpenStudio" -Configuration Release -SkipBuild -OutputRoot "$env:RUNNER_TEMP/candidate-render" -TimeoutSeconds 300
- name: Retain Mac render/export diagnostics
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: render-export-${{ matrix.os }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/candidate-render/**/render_export_regression_result.json
if-no-files-found: warn
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
if: always() && env.CALLBACK_DIAGNOSTICS == 'OFF'
with:
name: candidate-macos-universal
path: dist/macos/*
if-no-files-found: error
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
if: always() && env.CALLBACK_DIAGNOSTICS == 'OFF'
with:
name: candidate-macos-installed-arm64
path: ${{ runner.temp }}/candidate-macos-installed/
if-no-files-found: warn
qualify-macos-candidate-intel:
if: inputs.snap_source_run == ''
name: Installed universal DMG (Intel)
needs: verify-macos
runs-on: macos-15-intel
timeout-minutes: 15
env:
VERSION: ${{ inputs.version || '0.1.09' }}
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
with:
name: candidate-macos-universal
path: candidate
- name: Qualify the same finished DMG on Intel
run: python3 tools/test-macos-candidate.py --dmg candidate/OpenStudio-macOS.dmg --version "$VERSION" --output "$RUNNER_TEMP/candidate-macos-installed"
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
if: always()
with:
name: candidate-macos-installed-intel
path: ${{ runner.temp }}/candidate-macos-installed/
if-no-files-found: error
verify-linux:
if: inputs.snap_source_run == ''
runs-on: ubuntu-22.04
env:
# AppImage verification exercises the real release-notes gate.
VERSION: ${{ inputs.version || '0.1.09' }}
BUILD_DIR: build-verify-linux
ONNXRUNTIME_VERSION: 1.24.4
ONNXRUNTIME_LINUX_X64_SHA256: 3a211fbea252c1e66290658f1b735b772056149f28321e71c308942cdb54b747
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
with:
python-version: '3.13'
- name: Validate AppImage release notes