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

New release action #380

Merged
merged 5 commits into from
Dec 23, 2023
Merged

New release action #380

merged 5 commits into from
Dec 23, 2023

Conversation

martintc
Copy link
Contributor

I'm submitting a

  • bug fix
  • feature
  • documentation addition

What is the current behaviour?

Linux aarch64 artifact output is incorrect as noted in issue #337

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Binary release artifacts for linux aarch64 triplet were not correct. There were issues with using cross in the current action used to build. This introduces a new action to cross build rust projects pretty easily.

Please tell us about your environment:

Version (comtrya --version):
Operating system:

@codecov-commenter
Copy link

codecov-commenter commented Dec 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2cf7391) 28.26% compared to head (08edece) 28.26%.
Report is 1 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #380   +/-   ##
=======================================
  Coverage   28.26%   28.26%           
=======================================
  Files          85       85           
  Lines        2289     2289           
=======================================
  Hits          647      647           
  Misses       1642     1642           

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

name: comtrya-aarch64-unknown-linux-gnu
cross: false
cargo_command: ./cross
skip_tests: true
Copy link
Member

Choose a reason for hiding this comment

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

What's the problem with the tests here?

Copy link
Contributor Author

@martintc martintc Dec 23, 2023

Choose a reason for hiding this comment

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

It may work now. I initially set them to false as I worked through the openssl dependencies and to get faster feedback on if the rest of the pipeline worked. There is a chance that I might have run into an issue with tests failing with some weird results. But we can test this out. But I remember running the aarch64 test on my linux amd64 box and getting weird errors from the tests. But when I tired up an actual aarch64 Linux machine on hardware, the tests were fine? But that was also a month ago.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh and looking at the original main.yaml, the only time we run tests is during the lint action, we don't actually run tests against the compiled output for each architecture
But Ill push a commit setting skip_tests to false in case we ever want to actually turn that on.

name: comtrya-aarch64-apple-darwin
cross: true
cargo_command: ./cross
skip_tests: true
Copy link
Member

Choose a reason for hiding this comment

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

What's the problem with the tests here?

Copy link
Contributor Author

@martintc martintc Dec 23, 2023

Choose a reason for hiding this comment

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

It may work now. I initially set them to false as I worked through the openssl dependencies and to get faster feedback on if the rest of the pipeline worked. There is a chance that I might have run into an issue with tests failing with some weird results. But we can test this out. But I remember running the aarch64 test on my linux amd64 box and getting weird errors from the tests. But when I tired up an actual aarch64 Linux machine on hardware, the tests were fine? But that was also a month ago.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh and looking at the original main.yaml, the only time we run tests is during the lint action, we don't actually run tests against the compiled output for each architecture
But Ill push a commit setting skip_tests to false in case we ever want to actually turn that on.

@martintc martintc merged commit cf6741e into comtrya:main Dec 23, 2023
4 checks passed
@martintc martintc deleted the new-release-action branch December 29, 2023 23:05
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.

None yet

3 participants