mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1581] qemu: uncaught target signal 6 (Aborted) #791
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#791
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @EugenioTesio on GitHub (Jan 24, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1581
Bug report info
Command used with act
Describe issue
Link to GitHub repository
https://github.com/EugenioTesio/hello-world-dart-action
Workflow content
Relevant log output
Additional information
@ChristopherHX commented on GitHub (Jan 24, 2023):
Try
--container-architecture linux/arm64, dart has an arm64 base image which would run natively on your cpu.Warning GitHub Hosted runners are using x86_64 CPU, but you have an arm64 CPU
qemu is an external opensource emulator, which cannot compete with rosetta2.
@EugenioTesio commented on GitHub (Jan 24, 2023):
Perfect, worked so. I got confused because when I ran the command:
i got the next warning:
@ChristopherHX commented on GitHub (Jan 24, 2023):
This warning has been added, because users assumed that act simulates
GitHub Hosted Runners. E.g. some workflows download a linux/x86_64 binary to linux/arm64 system and obviously it fails to run with an unexpected error.Other way around qemu seem to not be able to run all x86_64 software on arm64 systems.
Either way using act with a m1 mac is problematic, there is no solution for all usecases.
Not shure how to improve this situation for other m1 users.
@EugenioTesio commented on GitHub (Jan 25, 2023):
Worked for me. Perhaps you could enlarge the warning explaining when to use
linux/amd64 or linux/arm64 or maybe better, a link to the documentation
about —container-architecture