Update to AS6#2
Merged
Merged
Conversation
Bumps TempLib 0.03.1 -> 1.0.0 for AS6, adds the src package.json needed by the publish workflow, and adds the standard build / build-export-publish GitHub Actions workflows. Removes the AS4 Jenkinsfile.
Now that @loupeteam/scalelib v1.0.0 is published to GitHub Packages, replace the temporary sibling-repo source reference with the proper lpm-installed binary dependency. Updates Cpu.sw entries on both Intel and ARM to point at Libraries.Loupe.scalelib.lby (Language=Binary). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
What
lpm(librarybuilderproject@1.0.1)Reference="true"source entries inLogical/Libraries/Loupe/Package.pkg(ScaleLib pointing at the sibling repo's source — see "Known issue" below)<LibraryObject>entries for ScaleLib and TempLib in both Intel and ARMCpu.swfiles (avoids the missing-.brpublish bug)0.03.1->1.0.0(major version increment for AS6)FromVersion="1.0.0"(Loupe dep major bump)LoopConRandAsBrStrdependencies unchanged (both ship as B&R_ASlibs inlibrarybuilderproject@1.0.1)src/Ar/TempLib/package.jsonfor the publish workflowbuild.ymlandbuild-export-publish.ymlGitHub Actions workflows (clone of ScaleLib's; staticLIBRARY: TempLibenv var)JenkinsfileWhy
Automation Studio 6 requires a new project format and updated library versioning. This change migrates the example project to AS6, increments the major version to signal the breaking change in platform compatibility, and replaces Jenkins CI with the standard Loupe AS6 GitHub Actions publish workflow.
LoopConR situation
LoopConRis provided bylibrarybuilderproject@1.0.1in the default_ASlibrary set (visible in bothCpu.swfiles). The library code links against it cleanly with no AS4-vs-AS6 API differences for the calls TempLib makes. No source changes were required.Builds
Known issue — ScaleLib v1.0.0 not yet published
ScaleLib's AS6 migration (loupeteam/ScaleLib#2) is in review but not yet tagged/published to GitHub Packages (only
v0.1.0exists today). For local builds this PR works becauseLogical/Libraries/Loupe/Package.pkgreferences ScaleLib's source at..\..\..\ScaleLib\src\Ar\ScaleLib\IEC.lby(i.e. the sibling repo on disk). That assumption is not valid in CI: the GHAbuildandbuild-export-publishworkflows checkout only this repo and will fail witherror 9214/9238until ScaleLib v1.0.0 is published and we switch the ScaleLib reference tolpm install @loupeteam/scalelib.Suggested merge order: hold this PR until ScaleLib v1.0.0 is published, then either (a) cut a follow-up commit on this branch swapping the source reference for
lpm install @loupeteam/scalelib, or (b) merge as-is if you're comfortable that the first GHA run will fail until that swap is done.