summaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2024-12-17Add building compile_commands.json to CIPeter Jones
I use compile_commands.json with vim all the time, so it's better if it doesn't break. This adds it to CI builds to try to ensure that better. Signed-off-by: Peter Jones <pjones@redhat.com>
2024-12-13Update fedora CI targetsPeter Jones
This updates CI targets for Fedora distros to newer releases. It also disables IA32 builds on f40 and f41. Something is broken in the include files for the ia32-on-x64 buildroot, and I don't think anyone is actually doing ia32-on-x64 builds in the wild anyway. At the same time, ia32 is pretty much dead to begin with. This takes the test out. Signed-off-by: Peter Jones <pjones@redhat.com>
2024-12-13CI: work around ownership issue on githubPeter Jones
"make update" with newer distros is giving us: fatal: detected dubious ownership in repository at '/__w/shim/shim' To add an exception for this directory, call: git config --global --add safe.directory /__w/shim/shim So that's exactly what I'm trying. Signed-off-by: Peter Jones <pjones@redhat.com>
2024-12-13CI: use checkout@v4Peter Jones
Signed-off-by: Peter Jones <pjones@redhat.com>
2023-06-23Remove CentOS 7 test builds.Peter Jones
CentOS 7 and RHEL 7 are EOL, and their ancient compiler is EOL along with them. Removing them from our test environments means we'll have to do some minor backports if they come back from the dead, but lets us use __builtin_add_overflow() and friends without gross hacks today. This change removes those builds from our PR tests. Signed-off-by: Peter Jones <pjones@redhat.com>
2022-05-04CI: Add f36 and centos9 CI build tests.Peter Jones
Signed-off-by: Peter Jones <pjones@redhat.com>
2022-05-04Remove aarch64 build tests before f35Peter Jones
Signed-off-by: Peter Jones <pjones@redhat.com>
2022-05-04CI: remove EOL Fedoras from github actionsRobbie Harwood
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2022-05-04CI: don't cancel testing when one failsRobbie Harwood
Set fail-fast to false to get a more useful picture of results. Signed-off-by: Robbie Harwood <rharwood@redhat.com>
2021-03-25Make building outside of the top directory work.Peter Jones
This also makes the cross-build targets (and not the others) /use/ this functionality, so we'll catch it if we break it again. This fixes issue #340. Signed-off-by: Peter Jones <pjones@redhat.com>
2021-03-24CI: don't use 'make -s'; it's more trouble than help.Peter Jones
This hides more subtle failures way too well; nerf it out. Signed-off-by: Peter Jones <pjones@redhat.com>
2021-03-22Try multi-arch CI building using cross compilationPeter Jones
This enables a pile of CI builds on fedora and centos, some using a cross compilers: - cross-compiler builds for f32, f33, f34, and f35 (currently rawhide): x86_64 (yes, x86_64->x86_64) i686 (x86_64->i686) arm (x86_64->arm) aarch64 (x86-64->aarch64) - non-cross builds for centos7 and centos8 x86_64 i686 - we can't cross build on centos7 or centos8 because they don't have the cross compiler packages Signed-off-by: Peter Jones <pjones@redhat.com>
2021-03-22Don't set LIBDIR in CI builds any more.Peter Jones
Setting libdir will make it try to use /usr/lib*/libefi.a and such, which is now wrong. Normally you don't *see* any problem, but when we're cross compiling, it'll fail to find libefi.a. Signed-off-by: Peter Jones <pjones@redhat.com>
2021-03-10Drop comments, and make push workflow use same matrix as pullrequest.Dimitri John Ledkov
2021-03-10Add testsuite to the github pull request workflow.Dimitri John Ledkov
2021-03-09CI: show our compilation when it failsPeter Jones
We've been using "make -s", silent mode, which doesn't show us what commands were invoked. Silent make means we can't see what goes wrong when the wrong compiler or linker is getting invoked, or when it's being invoked wrong. This changes the CI to run it again without -s when it fails. Signed-off-by: Peter Jones <pjones@redhat.com>
2021-03-09CI: try to update submodulesPeter Jones
Signed-off-by: Peter Jones <pjones@redhat.com>
2021-02-16Make httpboot.c always get built.Peter Jones
This is a backport from devel of: commit 634fd72ac6a6c6c9010c32506d524586826a8637 Author: Peter Jones <pjones@redhat.com> Date: Fri Nov 22 15:14:22 2019 -0500 Make httpboot.c always get built. Signed-off-by: Peter Jones <pjones@redhat.com>
2021-02-05github workflows: add the sbat branch to one PR builds run forPeter Jones
This adds the "sbat" branch to the list of branches where a build is done if a PR is submitted against that branch. Signed-off-by: Peter Jones <pjones@redhat.com>
2021-02-05github workflows: Unify the x86 pull request build rules stepsPeter Jones
This makes each of the f32/f33/f34 distro builds use the same steps to do the build, as well as making each of them build both x64 and ia32 targets. Signed-off-by: Peter Jones <pjones@redhat.com>
2020-12-11Try to kick the github PR workflow...Peter Jones
Signed-off-by: Peter Jones <pjones@redhat.com>
2020-12-10Split up push and PR CI/CD and build all patches in series on PRsPeter Jones
Signed-off-by: Peter Jones <pjones@redhat.com>
2020-12-07Use github actions for CI buildsPeter Jones
This could still use a bit of work, but it's better than Travis failing... Signed-off-by: Peter Jones <pjones@redhat.com>