Add GitHub Actions Linux/gcc and Windows/VS2022 CI builds #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now that gnu-efi has moved to GitHub, and considering that gnu-efi should aim at being used by more than the Linux/gcc microcosm, we can start to leverage GitHub's facilities to provide Continuous Integration and testing for multiple toolchains, in order to detect potential regressions.
This patchset therefore adds the Visual Studio 2022 solution files, along with automated GitHub Actions CI builds for Linux/gcc and Windows/VS2022.
While we are at it, we also bridge some more differences that exist between EDK2 and gnu-efi regarding SMBIOS/AsciiStr.
Note that the
mips64el
andloongarch64
gcc builds are currently commented out, on account that support forloongarch64
has not yet been added to Ubuntu (and GitHub Actions uses Ubuntu as its base images for Linux) and that a regression was introduced formips64el
in recent gnu-efi commits (sincemips64el
does build properly in a separate branch of mine that filters out some of the commits that were applied since 3.0.16, but fails with latest... which is precisely the kind of regressions that having GitHub Actions CI would detect early).You can see an example of the outcome of the CI builds at https://github.com/pbatard/gnu-efi-org/actions/runs/9001437514 (for gcc) and https://github.com/pbatard/gnu-efi-org/actions/runs/9001437516 (for VS2022).