-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CI: Linux arm64 #166
CI: Linux arm64 #166
Conversation
Nice! I have a couple other PRs to take care of first but I'll try to look into this PR 'soon-ish'. |
In fact, deployment will still need to be improved to avoid artifact conflicts on Linux. |
The selection of the correct executable happens here: (e.g. see the code block which selects between the ARM and Intel version on macOS). We probably don't need to introduce new fips build-configs like on macOS, because it isn't a cross-compilation scenario (as far as I currently understand it). |
🤦 now, renamed not found artifact!!! ci: https://github.com/kassane/sokol-tools/actions/runs/12844591828/job/35817901710 Error: Unable to download artifact(s): Artifact not found for name: linux-ninja-release
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md I also tried rename in dockerfile |
fixed and artifacts generated: Merge? |
There's two different directory names used here: https://github.com/kassane/sokol-tools/actions/runs/12846441876/job/35821783093
|
https://github.com/kassane/sokol-tools/actions/runs/12846857096 |
I'll merge the PR but will change all occurances of |
Wait... Hasn't it been fixed already? Did I miss something? |
I renamed the CI step from |
E..g this commit: ...looking at the CI now to check if everything is working. Thanks for the PR (ah and I'll also add a changelog entry) |
Deploy pipeline after merge: https://github.com/floooh/sokol-tools/actions/runs/12870826429 |
@kassane do you have a linux-arm64 machine around? I thought I could use my old Raspi but that's only 32-bits :) If yes, could you check in python3 what's returned here? import platform
platform.machine() (on ARM Macs this returns the string This is needed to fix the executable selection here: |
@floooh , my rpi4b Ubuntu: $ uname -a
Linux ubuntu 5.15.0-1034-raspi #37-Ubuntu SMP PREEMPT Mon Jul 17 10:02:14 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
$ python3
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.machine()
'aarch64' |
Oki thanks, I also get |
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
cc: @floooh