Skip to content

Update to AS6#2

Merged
sclaiborne merged 4 commits into
mainfrom
feature/as6
May 1, 2026
Merged

Update to AS6#2
sclaiborne merged 4 commits into
mainfrom
feature/as6

Conversation

@sclaiborne

Copy link
Copy Markdown
Member

What

  • Replaced the AS4 example project with a fresh AS6 project initialized via lpm (librarybuilderproject@1.0.1)
  • Added ScaleLib and TempLib as Reference="true" source entries in Logical/Libraries/Loupe/Package.pkg (ScaleLib pointing at the sibling repo's source — see "Known issue" below)
  • Registered <LibraryObject> entries for ScaleLib and TempLib in both Intel and ARM Cpu.sw files (avoids the missing-.br publish bug)
  • Bumped the library version 0.03.1 -> 1.0.0 (major version increment for AS6)
  • Marked ScaleLib dependency FromVersion="1.0.0" (Loupe dep major bump)
  • Left LoopConR and AsBrStr dependencies unchanged (both ship as B&R _AS libs in librarybuilderproject@1.0.1)
  • Added src/Ar/TempLib/package.json for the publish workflow
  • Added the standard build.yml and build-export-publish.yml GitHub Actions workflows (clone of ScaleLib's; static LIBRARY: TempLib env var)
  • Removed the Jenkinsfile

Why

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

LoopConR is provided by librarybuilderproject@1.0.1 in the default _AS library set (visible in both Cpu.sw files). 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

  • Intel: clean (warnings 9227 project moved + 447 licensing — both benign)
  • ARM: clean (0 errors, 0 warnings)

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.0 exists today). For local builds this PR works because Logical/Libraries/Loupe/Package.pkg references 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 GHA build and build-export-publish workflows checkout only this repo and will fail with error 9214 / 9238 until ScaleLib v1.0.0 is published and we switch the ScaleLib reference to lpm 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.

sclaiborne and others added 4 commits May 1, 2026 07:42
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>
@sclaiborne sclaiborne merged commit 0547e17 into main May 1, 2026
1 check passed
@sclaiborne sclaiborne deleted the feature/as6 branch May 1, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant