Skip to content

GitHub Actions: Build on an ARM processor#445

Closed
cclauss wants to merge 1 commit intoAsahiLinux:mainfrom
cclauss:patch-2
Closed

GitHub Actions: Build on an ARM processor#445
cclauss wants to merge 1 commit intoAsahiLinux:mainfrom
cclauss:patch-2

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Feb 19, 2025

@svenpeter42
Copy link
Member

So this doesn't work because there is no -arm image as far as I can tell. Also doesn't really matter what the host is since it'll be compiled for arm either way.

@cclauss
Copy link
Contributor Author

cclauss commented Mar 22, 2025

there is no -arm image

I do not understand that.

doesn't really matter what the host is

The job will run in half the time. ;-)

@svenpeter42
Copy link
Member

there is no -arm image

I do not understand that.

I approved the job and it never started because the -arm variant doesn't exist. It's also nowhere to be found in the documentation link you provided.

@cclauss
Copy link
Contributor Author

cclauss commented Mar 22, 2025

@svenpeter42
Copy link
Member

"The arm64 Linux runner is in public preview and subject to change."

And this also just didn't work, see https://github.com/AsahiLinux/m1n1/actions/runs/13423890788/job/38989485442 "The job has exceeded the maximum execution time while awaiting a runner for 24h0m0s"

@mkurz
Copy link

mkurz commented Mar 27, 2025

The reason why this is not working is because the image ubuntu-2024.04-arm does not exist. The correct name is ubuntu-24.04-arm. See https://github.com/actions/partner-runner-images/?tab=readme-ov-file#available-images

They still seem to be there... https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Actually also here the image is called ubuntu-24.04-arm...

Copy link

@mkurz mkurz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the image names.

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-2024.04-arm
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
runs-on: ubuntu-2024.04-arm
runs-on: ubuntu-24.04-arm

jobs:
format-check:
runs-on: ubuntu-latest
runs-on: ubuntu-2024.04-arm
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
runs-on: ubuntu-2024.04-arm
runs-on: ubuntu-24.04-arm

@svenpeter42
Copy link
Member

Still not gonna accept this because "The arm64 Linux runner is in public preview and subject to change." like I mentioned above

@cclauss cclauss deleted the patch-2 branch March 28, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants