GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add native binary validation script by hyperxpro · Pull Request #247 · hyperxpro/Brotli4j

Conversation

@hyperxpro

@hyperxpro hyperxpro commented Mar 29, 2026

Copy link
Copy Markdown
Owner

Motivation:
The release pipeline manually copied compiled native binaries with no validation. This failed silently in v1.21.0 (#246, missing macOS dylibs) and v1.19.0 (#226, wrong-architecture Windows DLLs).

Modification:

  • Pin macOS runners to macos-15 and fix Maven profile activation for ARM64
  • Add validate-native-binaries.sh that copies binaries from build artifacts and validates each one using readelf, objdump, and raw Mach-O header inspection
  • Add Validate-Native-Binaries CI job that runs on every push/PR, not just releases

Result:
The pipeline now fails hard if any of the 10 platform binaries are missing, empty, wrong format, or wrong architecture.
Fixes #246

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
hyperxpro added 2 commits March 29, 2026 12:42
@hyperxpro
Add binary validation and copy script
414020e
@hyperxpro
Fix Windows ARM64 detection
8bf29c5
@hyperxpro
hyperxpro merged commit 91bc58b into main Mar 29, 2026
32 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@hyperxpro
hyperxpro deleted the add-binary-validation branch March 29, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[BUG] Native macOS libraries (osx-aarch64 and osx-x86_64) missing from v1.21.0 JARs on Maven Central

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@hyperxpro
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.