Skip to content

CI: upgrade to checkout v4, upload-artifact 4, setup-go v5, Go 1.21#95

Merged
orangecms merged 2 commits intolinuxboot:mainfrom
orangecms:ci-maintenance
Sep 21, 2024
Merged

CI: upgrade to checkout v4, upload-artifact 4, setup-go v5, Go 1.21#95
orangecms merged 2 commits intolinuxboot:mainfrom
orangecms:ci-maintenance

Conversation

@orangecms
Copy link
Contributor

Keeping actions on a recent version is necessary because older ones are deprecated over time and would at some point error. We have seen such errors already, so this upgrades all actions.

resolves #94

@orangecms
Copy link
Contributor Author

All the go install commands need fixing, too.

@orangecms
Copy link
Contributor Author

The Makefiles are quite messy. I propose splitting them into four parts:

  • set up the build environment, fetching u-root, Fiano, kernel
  • fetch original image in case of reworking a UEFI PI; download or read from flash
  • build u-root, build Linux, manipulate UEFI image
  • write to flash

There are lots of tight coupling though, e.g. the initramfs file name in the kernel config has to match up with the u-root build step.
I've now reworked the Aeeon UP board for a start. The rest fails until it gets all the necessary fixes.

Keeping actions on a recent version is necessary because older
ones are deprecated over time and would at some point error.
We have seen such errors already, so this upgrades all actions.

Also drop the GO111MODULE env var. Go has changed.

Signed-off-by: Daniel Maslowski <info@orangecms.org>
Rework the entire Makefile.
The go install commands have changed.
For cpu, u-root now requires explicit Go workspace setups.
Elvish was dropped in favor of gosh.

The other Makefiles will also need fixing.
This one is the first running on CI, so start with it.

Signed-off-by: Daniel Maslowski <info@orangecms.org>
@orangecms orangecms merged commit 0aed224 into linuxboot:main Sep 21, 2024
@orangecms orangecms deleted the ci-maintenance branch September 21, 2024 16:15
@orangecms orangecms mentioned this pull request Oct 24, 2024
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.

CI maintenance

2 participants