summaryrefslogtreecommitdiff
path: root/.github/workflows/pullrequest.yml
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-06 10:49:33 -0500
committerJan Setje-Eilers <73182357+jsetje@users.noreply.github.com>2021-03-09 13:52:53 -0800
commitbb6dece33c39bd332f3b7e84b851dd7c306b360d (patch)
tree3a7b61074d6c7667e566769fef2dd1d5034cd493 /.github/workflows/pullrequest.yml
parente31379de9f4b55af61a9f407e01768330da57b71 (diff)
downloadefi-boot-shim-bb6dece33c39bd332f3b7e84b851dd7c306b360d.tar.gz
efi-boot-shim-bb6dece33c39bd332f3b7e84b851dd7c306b360d.zip
CI: show our compilation when it fails
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>
Diffstat (limited to '.github/workflows/pullrequest.yml')
-rw-r--r--.github/workflows/pullrequest.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 640c3192..15f4e9b3 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -57,8 +57,8 @@ jobs:
id: build
run: |
make update || :
- make -s ARCH=${{ matrix.makearch }} PREFIX=/usr LIBDIR=${{ matrix.libdir }} DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true clean all
- make -s ARCH=${{ matrix.makearch }} PREFIX=/usr LIBDIR=${{ matrix.libdir }} DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true install
+ make -s ARCH=${{ matrix.makearch }} PREFIX=/usr LIBDIR=${{ matrix.libdir }} DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true clean all || make ARCH=${{ matrix.makearch }} PREFIX=/usr LIBDIR=${{ matrix.libdir }} DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true all
+ make -s ARCH=${{ matrix.makearch }} PREFIX=/usr LIBDIR=${{ matrix.libdir }} DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true install || make ARCH=${{ matrix.makearch }} PREFIX=/usr LIBDIR=${{ matrix.libdir }} DESTDIR=/destdir EFIDIR=test ENABLE_SHIM_HASH=true install
echo 'results:'
find /destdir -type f
# - name: Archive production artifacts