Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add release workflows #12

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Add release workflows #12

merged 1 commit into from
Aug 7, 2024

Conversation

theory
Copy link
Member

@theory theory commented Aug 6, 2024

Follow the example of houseabsolute/ubi to use cross-rs/cross to cross-compile binaries for multiple platforms and architectures. Use musl where available to support both glibc and musl Linux distributions. Test for every push against stable, beta, and nightly, and build archives that contain the license, readme, and change log, as well as the pgxn_meta binary.

Also add a workflow to publish on crates.io, and add a dependency check step to the lint and test workflow.

Add CHANGELOG.md for tracking changes, and update Cargo.toml for distribution on crates.io.

Revise the README for the crate and binary.

@theory theory self-assigned this Aug 6, 2024
Copy link

codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (6fb932d) to head (0f2833c).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          114       114           
=========================================
  Hits           114       114           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@theory theory force-pushed the release branch 2 times, most recently from 0038ead to c2bdf09 Compare August 6, 2024 23:05
Base automatically changed from bin to main August 6, 2024 23:07
@theory theory force-pushed the release branch 3 times, most recently from 75a2cd4 to ec289f0 Compare August 7, 2024 14:47
@theory theory added the enhancement New feature or request label Aug 7, 2024
README.md Show resolved Hide resolved
Follow the example of houseabsolute/ubi to use cross-rs/cross to
cross-compile binaries for multiple platforms and architectures. Use
`musl` where available to support both `glibc` and `musl` Linux
distributions. Test for every push against stable, beta, and nightly,
and build archives that contain the license, readme, and change log, as
well as the `pgxn_meta` binary.

Also add a workflow to publish on crates.io, and add a dependency check
step to the lint and test workflow.

Add `CHANGELOG.md` for tracking changes, and update `Cargo.toml` for
distribution on crates.io.

Revise the README for the crate and binary.
Copy link
Member

@vrmiguel vrmiguel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I like the emojis :v

🐧 😈

@theory theory merged commit 0f2833c into main Aug 7, 2024
108 of 120 checks passed
@theory theory deleted the release branch August 7, 2024 20:11
@theory theory linked an issue Sep 12, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants