Skip to content
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

test(examples): expand to also run on arm64 machine #388

Merged
merged 7 commits into from
Nov 12, 2024

Conversation

AtomicFS
Copy link
Collaborator

@AtomicFS AtomicFS commented Nov 6, 2024

  • add example test for coreboot on arm64
  • add example test for uroot on arm64
  • add example test for linux on arm64
  • add example test for stitching on arm64

edk2 will come in later PR

@github-actions github-actions bot added testing Testing related github_actions Pull requests that update GitHub Actions code labels Nov 6, 2024
@AtomicFS AtomicFS force-pushed the test/expand-examples branch from 803cc18 to 3d0e114 Compare November 6, 2024 11:38
@AtomicFS AtomicFS force-pushed the test/expand-examples branch 4 times, most recently from 6268dd8 to 65928ae Compare November 7, 2024 11:34
@AtomicFS AtomicFS marked this pull request as ready for review November 7, 2024 12:00
@AtomicFS AtomicFS requested a review from MDr164 as a code owner November 7, 2024 12:00
@AtomicFS AtomicFS enabled auto-merge November 7, 2024 12:01
@AtomicFS
Copy link
Collaborator Author

AtomicFS commented Nov 7, 2024

The failing job is dagger build for edk2-stable202408 which is failing because of #385

@AtomicFS AtomicFS force-pushed the test/expand-examples branch from 65928ae to 26e8194 Compare November 8, 2024 10:05
@AtomicFS
Copy link
Collaborator Author

The issue is failing because of missing git submodule, which is fixed in #392 , so should be fine too @MDr164

AtomicFS and others added 6 commits November 11, 2024 16:55
- we are using 'amd64' and 'i386' everywhere else
- so let's unify it and replace 'x86_64' and 'x86'

Signed-off-by: AtomicFS <[email protected]>
- this way the examples can also run on arm64 machines

Signed-off-by: AtomicFS <[email protected]>
- the code to detect if cross-compilation is needed did not work on
  arm64
- additionally, since everyone is naming architectures differently, I
  made 2 new functions to normalize (translate) into some common naming
  scheme

Signed-off-by: AtomicFS <[email protected]>
- the mkdir might not be necessary, but should not do any harm
- at one point I did run into this problem, but it might have been just
  because the arch variable was messed up

Signed-off-by: AtomicFS <[email protected]>
- on self-hosted runners, the jobs leave behind all of their garbage
  which must be cleaned manually, otherwise the next job running on said
  self-hosted runner will fail (or contaminated)

Signed-off-by: AtomicFS <[email protected]>
@AtomicFS AtomicFS force-pushed the test/expand-examples branch from 26e8194 to 12448b1 Compare November 11, 2024 15:56
@AtomicFS
Copy link
Collaborator Author

AtomicFS commented Nov 12, 2024

There was some left-over garbage in arm64 runner which was causing problems. Is fixed now. @MDr164

MDr164
MDr164 previously approved these changes Nov 12, 2024
@AtomicFS AtomicFS added this pull request to the merge queue Nov 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 12, 2024
@AtomicFS
Copy link
Collaborator Author

Ups, the artifacts had conflicting names. Fixed.

@AtomicFS AtomicFS requested a review from MDr164 November 12, 2024 13:37
@github-actions github-actions bot added this pull request to the merge queue Nov 12, 2024
@AtomicFS AtomicFS removed this pull request from the merge queue due to a manual request Nov 12, 2024
@AtomicFS AtomicFS added this pull request to the merge queue Nov 12, 2024
Merged via the queue into main with commit 84f4916 Nov 12, 2024
101 checks passed
@AtomicFS AtomicFS deleted the test/expand-examples branch November 12, 2024 14:30
@AtomicFS AtomicFS added the arm64 arm64 label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm64 arm64 github_actions Pull requests that update GitHub Actions code module/linux testing Testing related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants