Skip to content

Self-packaging #9: CI cross-platform verification (Linux x86/ARM, macOS, Windows) #49

Closed

Description

@jrosskopf

Part of epic #40. Depends on #6 (integration tests) and #8 (macOS path).

Goal

Run the self-packaging integration tests on every platform flapi
already builds for, so regressions are caught before release.

Scope

Extend .github/workflows/build.yaml:

  • Linux x86_64 (ubuntu-latest) — run
    pytest test/integration/test_self_packaging.py -v.
  • Linux ARM64 (ubuntu-24.04-arm) — same.
  • macOS ARM64 (macos-latest) — run both
    test_self_packaging.py and
    test_self_packaging_macos.py (codesign verification).
    • codesign --verify --deep --strict on the
      reserved-segment output is a hard fail.
    • --macos-append legacy path is a continue-on-error step
      that emits a GitHub-Actions warning when the signature fails
      (visibility, not blocker).
  • Windows x64 (windows-latest) — PowerShell-equivalent of the
    round-trip script. The spike already has roundtrip.ps1 we can
    lift verbatim.

Reproducibility assertion (single CI step, any leg):

  • flapi pack --in fixtures/ --out a.bin && flapi pack --in fixtures/ --out b.bin
  • sha256sum a.bin b.bin → identical (SOURCE_DATE_EPOCH stamped,
    sorted entries).

Red criteria

Green criteria

  • All four legs green.
  • Total added CI time per leg < 3 minutes (these tests should not
    meaningfully slow the build).
  • Reproducibility check passes.

Files

  • Modified: .github/workflows/build.yaml
  • Possibly: .github/scripts/test-self-packaging-windows.ps1 if we
    lift the spike's PowerShell wrapper.

Activity

  1. added
    enhancement
    on May 21, 2026
  2. added 3 commits that reference this issue on May 22, 2026
    78900c0
    614c700
    602174a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions