Repository navigation
publish-cvcpkg: arix, ariglx and arisrvx on Windows and macOS (N1 part 2), arigl on macOS - #1554
Conversation
cp312 matrix rows for windows-2022, macos-15 and macos-15-intel build what the scripting hosts need there, as the linux cp312 job does: - Windows: pycvc-cp312, pycvc-gl-cp312, arix, arisrvx and ariglx, each by its recipe's build.ps1 (#1196), checked from an install-shaped prefix with no PYTHONHOME, no PYTHONPATH and the system dirs alone on PATH (.github/scripts/windows-xhost.ps1). - macOS: pycvc-cp312, arix and arisrvx, with the linux checks under dyld. The 311 macOS job also builds arigl against its cvcGL. A missing VTK on an experimental row now skips only cvcgl and arigl, not pycvc. cvcgl's Windows step builds the shared cvcGL alone in the cp312 job and packs nothing, so cvcgl still publishes once. Recipes: macos rows for arix, arisrvx, arigl and cvcgl; ariglx names its macOS blocker (vtk-python-cp312 has no macos row in cy-pca/cvcpkg).
…base row is pycvc-cp312, arix, arisrvx and ariglx had linux x86_64 bundles only, though python312, numpy-cp312, vtk-python-cp312 and wasmtime all have linux arm64 ones. The Linux cp312 steps are platform-generic, so the row only has to exist.
…p312 is The macOS cp312 jobs install vtk and vtk-python-cp312 when the catalog has them for macOS (cy-pca/cvcpkg#638 adds the recipe row), and then build the shared cvcGL for linking (packing nothing, as on Linux), pycvc-gl-cp312 (which must import with VTK's Python) and ariglx (the Windows lane's --terminal checks, under dyld). Without them the three skip with a warning on every row, so the lanes come on by themselves once the bundle is published. pycvc-gl-cp312's recipe gets a macos row and its libcvc, cvcgl and pycvc deps scoped to macos too; ariglx's gets a macos row.
The Windows swig bundle (4.4.1+cvc.6) has SWIG's own Windows layout, its library in bin\Lib\ beside swig.exe, not share/swig/<version>/. The action only knew the second, so the first Windows job to run it (the cp312 row's) failed with "found 0". It now falls back to bin/Lib/swig.swg when there is no share/swig/*/swig.swg, and exports that as SWIG_LIB. Checked against the installed Windows bundle: it finds bin/Lib, swig.exe reports 4.4.1 with that SWIG_LIB, and generates a Python wrapper.
The libcvc fleet on cvcpkg.org after v4.0.10Each cell is the release that package first published for that platform (release builds), read from the live cvcpkg.org catalog on 2026-11-27. Bold cells are new in 4.0.10. Every filled cell has a 4.0.10 bundle, except the ones marked "last". Letters are blockers, explained below the table; "n/a" means the package has no such form, and "—" means there's no lane for it.
Debug builds: libcvc has debug bundles on Linux x86_64 and arm64 and on macOS arm64 and x86_64. ari, ari-media and arisrv get debug bundles on those same four platforms starting with the next tag: #1580 merged (74a5aba) after v4.0.10 was tagged. Blockers
v4.0.10 runs: publish-cvcpkg 45959624120 (every build row green; build-cuda hit blocker C), publish-cvcgl-wasm 45959623936 (5 of 6 published; M), publish-pycvc-gl-wasm 45959623754 and Release 45959623770 both green. |
The scripting hosts (arix, ariglx, arisrvx) and the pycvc-cp312 they import had linux x86_64 bundles only. cy-pca/cypkg is about to depend on arix/ariglx's embedded Python everywhere, so this adds their publish lanes on Windows and macOS. This is N1 part 2 (docs/roadmap/ARIADNE_SCRIPTING_HOSTS.md); #1196 was part 1. arigl's missing macOS bundle comes along with it.
What it adds to publish-cvcpkg.yml
New cp312 matrix rows build the same packages the linux x86_64 cp312 job builds, on these runners:
Each row rebuilds libcvc to link against, and on Windows the shared cvcGL as well. The existing
matrix.pyver == '311'guards keep libcvc, cvcgl, ari and the other base packages publishing once.build.ps1from cvcpkg: Windows columns for pycvc, pycvc-gl, arix and ariglx recipes #1196, run in a child pwsh, so this job and the fleet's Windows builders can't drift. pycvc's swig is the cvcpkg one, and the step checks that in CMakeCache. The checks run fromprefix-xhost, a prefix laid out the way installing the bundles lays it down. Each host runs there with no PYTHONHOME, no PYTHONPATH, and only the Windows system dirs on PATH. So every host has to find its Python, its DLLs and its packages where an install puts them, and a missing DLL fails as 0xC0000135. The helpers are in.github/scripts/windows-xhost.ps1. The hosted image has no OpenGL 3.2 driver, so ariglx's checks run with--terminal, as arigl's already do. The asserts:python_block.ariandwasm_block.ari.program.pybeside a loopback relay.info, loads both test documents, and imports pycvc_gl with vtkmodules.libpython3.12and@rpath/libwasmtime.dylib, and a row with a floor has to say that minos. The 311 job also builds arigl against its own cvcGL, with arigl [Linux]'s terminal snapshots (no window snapshot). A missing VTK on the Intel row now skips only cvcgl and arigl, not pycvc, so pycvc-cp311 also gains a macos/x86_64 bundle.What stays out, and why
bin/wasmtime.dll(cvcpkg: Windows columns for pycvc, pycvc-gl, arix and ariglx recipes #1196 explains why).How it was tested
YAML. It parses, and every pwsh
run:block parses with no errors (PowerShell's parser, with${{ }}stubbed out).Helpers. I ran
windows-xhost.ps1on sandipaws against the N1 part-1 install-shaped prefix (3.7.13 builds):Merge-XTreemerges, and with-NoClobberleaves existing files alone and creates no nested dirs.program: the relay applied.ariglx check --terminal/info --terminal --json. With a clean PATH, both test documents load and info reports"python": trueand"wasm": true.Dry run 1. publish-cvcpkg.yml dispatched on this branch with dry_run=true (build and pack only, no publish or upload). Run 45789310012, on 18e0176, before the macOS pycvc-gl/ariglx and swig commits. Every build job was green except windows cp312.
arix 3.12.10 2.4.6; python_block 5 tests ok; wasm_block 6 tests ok;program: the relay applied; minos 14.0arisrvx 3.12.10,program: the relay appliedThe windows cp312 job failed at "Install swig (cvcpkg)". The Windows swig bundle keeps its library in
bin/Lib/(SWIG's Windows layout), notshare/swig/<version>/, and the action had never run on Windows: the only Windows pycvc lane was behind the dispatch input. Fixed in 5354df6, which I checked against the installed bundle (finds bin/Lib, reports 4.4.1, generates a Python wrapper). That failure skipped pycvc-cp312, pycvc-gl-cp312, arix and ariglx on Windows.Dry run 2. Run 45831046327 on 5354df6: every build job green.
bin/wasmtime.dll, about 8 MB, which is the known overlap. Every check ran from prefix-xhost with no PYTHONHOME, no PYTHONPATH and the system dirs alone on PATH, and exited 0:arix 3.12.10 2.4.6;arisrvx 3.12.10, andprogram: the relay applied;info --terminal --jsonwith python, wasm, yaml, ftxui and media_player;check --terminaldocuments;import pycvc_gl, vtkmodules.vtkCommonCore->ok.vtk + vtk-python-cp312 not on the catalog for macos/arm64: no cvcgl link build, pycvc-gl-cp312 or ariglx in this job, and those three steps skip as intended.Merging and the release that publishes these need Joe's OK.