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

chore: CI for release candid-extractor #427

Merged
merged 8 commits into from
Sep 19, 2023

Conversation

lwshang
Copy link
Contributor

@lwshang lwshang commented Sep 19, 2023

Description

Add a workflow to release candid-extractor that support cargo binstall.

This release is a successful run of the new workflow.

How Has This Been Tested?

Check the release above.

cargo binstall candid-extractor which should directly download the prebuilt binary without compilation.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@lwshang lwshang marked this pull request as ready for review September 19, 2023 18:35
@lwshang lwshang requested a review from a team as a code owner September 19, 2023 18:35
Copy link
Member

@ericswanson-dfinity ericswanson-dfinity left a comment

Choose a reason for hiding this comment

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

I think it would be better to build with releases on specific versioned runners, rather than the -latest variants.

For one, when GitHub updates these, they typically roll out changes gradually. So for example, when macos-latest was transitioning from macos-11 to macos-12, maybe 10% of runs specifying macos-latest would use macos-12 runners, while the remainder used macos-11.

For ubuntu, I've suggested ubuntu-20.04 rather than ubuntu-22.04 to avoid linker errors with glibc. This is why we build dfx with ubuntu-20.04 as well.

.github/workflows/release-candid-extractor.yml Outdated Show resolved Hide resolved
.github/workflows/release-candid-extractor.yml Outdated Show resolved Hide resolved
@lwshang lwshang merged commit a2623bc into main Sep 19, 2023
16 checks passed
@lwshang lwshang deleted the lwshang/publish_candid_extractor branch September 19, 2023 21:14
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.

2 participants