chore: build unsupported platforms #1295
No reviewers
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/runner!1295
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "aahlenst/runner:cross-compile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cross-compile Forgejo Runner for the most common platforms that are not officially supported during CI. The purpose is preventing the accidental introduction of code that breaks compilation on any of those platforms, and nothing more. It is not a goal to perform any testing on those platforms or release Forgejo Runner for them.
I considered invoking
make buildin a for loop. But identifying the failed platform is much easier with separate steps. I hope I used the word "unsupported" enough.@ -43,0 +96,4 @@- name: Build for macOS/arm64run: |GOARCH="arm64" GOOS=darwin make buildSome of these steps at the end are missing
make clean, and likely related, the logs indicate that nothing is being built.What happens when the attention collapses in the midst of a task. Sigh. Should be fixed.
I don't think you actually need to build every architecture; just an
amd64build for each OS should be plenty. I don't believe there's any architecture-specific code in the runner. (And the full matrix of arch/OS combinations is quite large.)Would suggest also adding
dragonflyandillumos.57884ec74bcb26c6f373@alexrp I trust your judgement. @alexrp wrote in #1295 (comment):
Sure. And if it's not, you know where to find us 😁
But I won't add Solaris!