summaryrefslogtreecommitdiff
path: root/.github/workflows/pullrequest.yml
diff options
context:
space:
mode:
authorSteve McIntyre <93sam@debian.org>2021-02-21 13:46:16 +0000
committerSteve McIntyre <93sam@debian.org>2021-02-21 13:46:16 +0000
commit2a55644555e3c9bb1d948ab817b047123c1dcfd9 (patch)
treef3c68875b270405a4cf93cec1b9aa5fb567e0c48 /.github/workflows/pullrequest.yml
parent379f0954e0632f29f5154a0157a046ef20053121 (diff)
parent888f5b544b7cce3cdae8074aa617b1d4add271a1 (diff)
downloadefi-boot-shim-2a55644555e3c9bb1d948ab817b047123c1dcfd9.tar.gz
efi-boot-shim-2a55644555e3c9bb1d948ab817b047123c1dcfd9.zip
Update upstream source from tag 'upstream/15+1613861442.888f5b5'
Update to upstream version '15+1613861442.888f5b5' with Debian dir 15b0853a73144b1f8571ce2bebc2eea68af4a8e3
Diffstat (limited to '.github/workflows/pullrequest.yml')
-rw-r--r--.github/workflows/pullrequest.yml68
1 files changed, 68 insertions, 0 deletions
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
new file mode 100644
index 00000000..2821b2f4
--- /dev/null
+++ b/.github/workflows/pullrequest.yml
@@ -0,0 +1,68 @@
+name: pull-request-builds
+
+on:
+ pull_request:
+ branches:
+ - main
+ - sbat
+
+jobs:
+ pull-request-intel:
+ runs-on: ubuntu-20.04
+ container: vathpela/efi-ci:f34-x64
+ name: ${{ matrix.distro }} ${{ matrix.efiarch }} build
+
+ strategy:
+ matrix:
+ include:
+ - arch: amd64
+ efiarch: x64
+ makearch: x86_64
+ distro: efi-ci-f34
+ libdir: /usr/lib64
+ - arch: amd64
+ efiarch: x64
+ makearch: x86_64
+ distro: efi-ci-f33
+ libdir: /usr/lib64
+ - arch: amd64
+ efiarch: x64
+ makearch: x86_64
+ distro: efi-ci-f32
+ libdir: /usr/lib64
+ - arch: amd64
+ efiarch: ia32
+ makearch: ia32
+ distro: efi-ci-f34
+ libdir: /usr/lib
+ - arch: amd64
+ efiarch: ia32
+ makearch: ia32
+ distro: efi-ci-f33
+ libdir: /usr/lib
+ - arch: amd64
+ efiarch: ia32
+ makearch: ia32
+ distro: efi-ci-f32
+ libdir: /usr/lib
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ # otherwise we are testing target branch instead of the PR branch (see pull_request_target trigger)
+ ref: ${{ github.event.pull_request.head.sha }}
+ fetch-depth: 0
+ - name: Do the build on ${{ matrix.distro }} for ${{ matrix.efiarch }}
+ id: build
+ run: |
+ 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
+ echo 'results:'
+ find /destdir -type f
+# - name: Archive production artifacts
+# uses: actions/upload-artifact@v2
+# with:
+# name: shim
+# path: |
+# /destdir