Skip to content

Rebuild native renderer binaries - #955

Merged
SimonCropp merged 1 commit into
platformheadsfrom
native-binaries-platformheads
Oct 11, 2026
Merged

SimonCropp merged 1 commit into
platformheadsfrom
native-binaries-platformheads

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Rebuilt diffengine_viewer from native for the runtime identifiers that load one.
Windows is not among them: that head renders with WinForms.

Produced by the build-native workflow from ea238ec.

@SimonCropp
SimonCropp merged commit 0944223 into platformheads Oct 11, 2026
1 check passed
@SimonCropp
SimonCropp deleted the native-binaries-platformheads branch October 11, 2026 12:47
SimonCropp added a commit that referenced this pull request Oct 11, 2026
The viewer's native build was worked out here and copied into BuildMonitor, and fixes made here did not reach the copy: a Linux library that needed glibc 2.38, a raylib build whose window stayed blank, and libraries recorded as needed that a stock Ubuntu lacks were each fixed here and then found again there. PlatformHeads is the one copy, made from this one, and this takes its 0.1.0 in the three forms it comes in:

- build-native.yml calls its reusable workflow in place of the jobs it had.
- native/CMakeLists.txt fetches its CMake module, which pins raylib and Dear ImGui, switches off the raylib 6.0 options and links the library. What is left here is the viewer's own: its formats, its source file, and Threads and dl.
- DiffEngine.csproj lists a PlatformHead for each RID and the package's targets publish and bundle them, in place of PublishViewerHeads and AddViewerToPackage, staged in obj\viewer as before. DiffEngineTray asks for the Windows heads by PlatformHeadsPublish. The Mac and Linux heads set PlatformHeadsNativeRuntimes in place of their own runtimes items. DE0001 is PH0001.

native/build-linux.sh goes, since the workflow carries the script and PlatformHeads keeps it for running by hand.

One thing that ships changes. The formats named are PNG, JPG, BMP and GIF, which is what the comment here always said, and the module leaves out every format not named. QOI and DDS were in the library only because raylib 6.0's CMake defaults every option to on, and the viewer hands raylib neither. With those two named, the linux-x64 library built in the container is byte for byte the one that was committed. The Linux libraries are rebuilt without them, the linux-x64 one 8 KB smaller, by the PR build-native opened against this branch (#955).

A Release build makes all five packages with the entries Packaging.Tests has on record.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant