Skip to content

DO NOT MERGE: Test build against c2pa-rs 0.90.0-rc.1#244

Open
scouten-adobe wants to merge 1 commit into
mainfrom
test/c2pa-rs-0.90.0-rc.1
Open

DO NOT MERGE: Test build against c2pa-rs 0.90.0-rc.1#244
scouten-adobe wants to merge 1 commit into
mainfrom
test/c2pa-rs-0.90.0-rc.1

Conversation

@scouten-adobe

Copy link
Copy Markdown
Contributor

Purpose (temporary / do not merge)

Exercise the c2pa-rs 0.90.0-rc.1 release candidate against this repo's build and test suite before it ships as a real release, so any breaking build/API/FFI issues surface early.

Pinned to commit 66d20c655769b9a46fa87221a996ad5686e0c6f9 (the HEAD of branch 0.90.0-rc.1) for reproducibility.

Why this is a CI-only change

The default build downloads prebuilt release binaries selected by C2PA_VERSION in CMakeLists.txt. There is no c2pa-v0.90.0-rc.1 release (latest is c2pa-v0.89.3), so there are no prebuilt binaries to point at.

The only way to exercise the RC is the existing build-from-source path. So this PR changes .github/workflows/ci.yml to:

  • Check out contentauth/c2pa-rs at the pinned commit into c2pa-rs/.
  • Install the Rust toolchain.
  • Build the c2pa_c FFI from source via C2PA_BUILD_FROM_SOURCE=1 + C2PA_RS_PATH, instead of downloading the C2PA_VERSION prebuilt.
  • Broaden the MSVC toolchain setup to all Windows runners (arch chosen per runner), since building Rust from source needs it.

Runs across the full OS matrix (Windows x64/arm64, macOS arm64/intel, Ubuntu x64/arm64). Note: source builds are officially "only tested on Linux," so non-Linux failures may reflect source-build toolchain integration rather than genuine RC breakage — read results with that in mind.

CMakeLists.txt is intentionally left untouched so the change is fully contained in the workflow and trivial to revert.

Reverting

Once the RC ships as a release, revert the env: block and the two (TEMPORARY) steps in .github/workflows/ci.yml, then bump C2PA_VERSION in CMakeLists.txt normally.

🤖 Generated with Claude Code

Point CI at the c2pa-rs 0.90.0-rc.1 release candidate (pinned to commit
66d20c655769b9a46fa87221a996ad5686e0c6f9, the HEAD of that branch) to
surface any breaking build issues before the RC ships as a release.

No prebuilt release binaries exist for the RC yet, so the default
prebuilt-download path (C2PA_VERSION in CMakeLists.txt) cannot target it.
Instead, CI checks out c2pa-rs at the pinned commit, installs Rust, and
builds the c2pa_c FFI from source via C2PA_BUILD_FROM_SOURCE / C2PA_RS_PATH
across the full OS matrix. MSVC setup is broadened to all Windows runners
(with arch selected per runner) since building Rust from source needs it.

This is intentionally temporary and self-contained in the workflow; revert
the env block and the two "(TEMPORARY)" steps once the RC is released and
C2PA_VERSION can be bumped normally.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@scouten-adobe scouten-adobe self-assigned this Jul 13, 2026
@scouten-adobe scouten-adobe changed the title TEMPORARY: Test build against c2pa-rs 0.90.0-rc.1 DO NOT MERGE: Test build against c2pa-rs 0.90.0-rc.1 Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant