-
-
Notifications
You must be signed in to change notification settings - Fork 0
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 workflow and complementary files #1
Conversation
dc6552f
to
4155b72
Compare
0009 is used to patch cryptography version used because of: healthchecks/healthchecks#565
[TODO] remove hardcoded version and use ${GITHUB_REF/refs\/tags\//} add bash as default shell to find zip on win use 7zip on win to archive, zip is not installed by default remove ${{ github.workspace }} from win, it does not get expanded correctly
tar in macos is not working correctly on the ghactions hosted runners actions/runner-images#2619
4155b72
to
c5a94da
Compare
…e for armv6. arm32v6 arch should be able to run arm32v5 binaries
…r and not from `imgtool/` one. Otherwise it will pick up the wrong main.py
c5a94da
to
4483ec0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one other suggestion, but it is not well suited for the PR review suggestions system, so I'll submit that as a PR against your PR branch once the suggestions here have been settled.
640fb48
to
584c2ab
Compare
Co-authored-by: per1234 <[email protected]>
Co-authored-by: per1234 <[email protected]>
1ce15ed
to
2961b14
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work Umberto!
The other idea I had was to use the build script in the build
job to make the system easier to maintain by avoiding code duplication between the two jobs. However, I found that it was difficult to achieve compatibility of the script in all platforms, so I gave up on the idea.
With this PR I'm adding:
release.yml
which is the release workflow to publish compiled imgtool version 1.8.0 to the release section here on GitHub and on the Arduino download servers. The workflow uses pyinstaller to generate an executable from a python project. The workflow leverage native compilation for win, macos, linux64. The binaries for the other platforms (linux32, linux-armv6, linux-armv7, linux-arm64) are built using crosscompilation, qemu, and docker containers.patches/
it's a folder containing all the patches generated by us hereREADME.md
with general info regarding the repo and imgtool