-
Notifications
You must be signed in to change notification settings - Fork 145
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
github actions improvement #1679
Comments
Deploy action -- to include MSYS2 mingw64/mingw32 binaries upon formal release like 7.3. Currently the deploy github action only upload Windows MSVC binaries.
Edit: the above deploy github action does build MSYS2 mingw32/mingw64/clang32/clang64/ucrt64 binaries for avrdude 7.3 release. So we can decide whether to upload them or not. |
As for the binaries generated by arduino-packing script, as of now, the script does not deal with releases yet.So the version number will not matching -- one commit after the release tag. @umbynos |
Hey @mcuee what do you mean by this?
|
As of now, the action is only executed upon git push to git main, but not release tagging. Your original version is okay but I do not know how to adapt it to avrdude git main. |
@umbynos |
GitHub only has Ubuntu, Windows and OSX workers. However, Cirrus CI has a free offer for Open Source Projects which includes CI builds on FreeBSD. |
There are some changes now. Please refer to the following discussions. |
I have documented steps to build libserialport for the Arduino cross-build Docker container. However, macOS support is missing (difficult to cross build libserialport under the container). @ndim Just wondering if you can take a look here. Thanks. |
Even if we cannot get macOS libserialport cross-build to work, we may still want to improve the following two github actions to install libserialport for Linux and mingw32 cross build. But I am not so sure if we can do this before avrdude 8.0 release or not. https://github.com/avrdudes/avrdude/blob/main/.github/workflows/arduino_packing.yml Worst case, I can do manually cross build, just like avrdude 7.3 release. More about the Arduino crossbuild container. It is missing libserialport support. |
avrdude 8.0 release github action build: The binaries are uploaded to the release page. |
I think we may need to improve the macOS crossbuild githun action to remove the following warnings. Example run:
|
https://github.com/avrdudes/avrdude/blob/main/.github/workflows/arduino_packing.yml The following four seem to be for linking only.
|
That appears to be stuff you probably need for every proper Macos program. Those are unused for building a CLI program like avrdude. Not sure what we can do there except disable the warning about unused arguments. |
I believe the following is correct.
However, I have not figured out how to cross build for macOS yet to verify the correctness of the above patch. For Linux/Windows I am good. |
Now the infrastructure is ready. We should be able to add github action for Apple Silicon build. Edit to add:
|
Come to think about it... Processor architecture is always implied, and may therefore change without us noticing, unless we can either specify the arch or at least test the arch to verify our assumptions still hold before we label artifacts as x86_64. |
Updated on 2024-Sept-01.
Deploy action -- to include MSYS2 mingw64/mingw32 binaries upon formal release like 7.3.
[Done, mingw 64bit binaries require manual upload now]
Deploy action for Arduino-packing github action upon formal release like 7.3.
[Done, missing libserialport support]
It may be good to add github actions for BSDs.
The text was updated successfully, but these errors were encountered: