Repository navigation
Take the heads' build and packaging from PlatformHeads - #51
Merged
Merged
Conversation
BuildMonitor's native build was a copy of DiffEngine's, and fixes made to that copy did not reach this one: 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 there first and found again here. PlatformHeads is the one copy, 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. The formats, flags and settings are the ones this file had. - BuildMonitor.csproj lists a PlatformHead for each RID and the package's targets publish and bundle them, in place of PublishHeads, CopyHeadsToOutput and AddHeadsToPackage. The native head sets PlatformHeadsNativeRuntimes in place of its own runtimes items. BM0001 and BM0002 are PH0001 and PH0002. native/build-linux.sh goes, since the workflow carries the script and PlatformHeads keeps it for running by hand. Nothing that ships changes. Built in the container through the module, the linux-x64 library is byte for byte the one committed, and the package a Release build makes has the entries Packaging.Tests has on record.
That commit was meant to be the whole change and holds only the deletion of native/build-linux.sh: the path was named to git add after it had already been removed and staged, the add failed for every file, and the commit took what was staged. These are the workflow, the CMake file, the two projects, the package version and the notes its message describes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BuildMonitor's native build was a copy of DiffEngine's, and fixes made to that copy did not reach this one (#47 and #48 were three of them). PlatformHeads is the one copy, and this takes its
0.1.0.What changes
build-native.ymlcalls PlatformHeads' reusable workflow in place of the jobs it had.native/CMakeLists.txtfetches its CMake module, which pins raylib and Dear ImGui, switches off the raylib 6.0 options and links the library. The formats, flags and settings are the ones this file had.BuildMonitor.csprojlists aPlatformHeadfor each RID, and the package's targets publish and bundle them in place ofPublishHeads,CopyHeadsToOutputandAddHeadsToPackage. The native head setsPlatformHeadsNativeRuntimesin place of its ownruntimesitems.BM0001andBM0002becomePH0001andPH0002.native/build-linux.shgoes: the workflow carries the script, and PlatformHeads keeps it for running by hand.Three pins name the one tag and move together: the workflow's
uses:, theGIT_TAGinnative/CMakeLists.txt, andPlatformHeadsinDirectory.Packages.props.Checked
Nothing that ships should change, and locally nothing did:
0.1.0, the linux-x64 library is byte for byte the one committed.Packaging.Testspasses against the snapshot it already had, andBuildMonitor.Testspasses.This branch's push is the first run of the reusable workflow's macOS and propose jobs. The names of the
Build nativechecks change, since the jobs are now inside a called workflow.