summaryrefslogtreecommitdiff
path: root/.github/workflows/pullrequest.yml
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2020-12-11 18:12:36 -0500
committerPeter Jones <pjones@redhat.com>2020-12-11 19:49:04 -0500
commit1f123ac2359cd923e9144f944a4bddf597fddbb5 (patch)
treeab080fe653520c92625823b29735f81892944241 /.github/workflows/pullrequest.yml
parent636cba95b5cfbebfb4fa04e51cab1c08f2434572 (diff)
downloadefi-boot-shim-1f123ac2359cd923e9144f944a4bddf597fddbb5.tar.gz
efi-boot-shim-1f123ac2359cd923e9144f944a4bddf597fddbb5.zip
Try to kick the github PR workflow...
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to '.github/workflows/pullrequest.yml')
-rw-r--r--.github/workflows/pullrequest.yml109
1 files changed, 109 insertions, 0 deletions
diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
new file mode 100644
index 00000000..46cd50de
--- /dev/null
+++ b/.github/workflows/pullrequest.yml
@@ -0,0 +1,109 @@
+name: pull-request-builds
+
+on:
+ pull_request:
+ branches:
+ - main
+
+jobs:
+ pull-request-f34-x64:
+ runs-on: ubuntu-20.04
+ container: vathpela/efi-ci:f34
+ name: f34 build
+ 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: fetch-origin
+ run: git fetch origin
+ id: fetch-origin
+ - name: dammit0
+ run: git remote -v
+ id: dammit0
+ - name: dammit1
+ run: ls .git/refs/heads/
+ id: dammit1
+ - name: Do the build
+ run: make PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/destdir EFIDIR=test ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true clean all
+ id: build
+ - name: Install in /destdir
+ run: make PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/destdir EFIDIR=test ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true install
+ id: install
+# - name: Archive production artifacts
+# uses: actions/upload-artifact@v2
+# with:
+# name: shim
+# path: |
+# /destdir
+ pull-request-f33-x64:
+ runs-on: ubuntu-20.04
+ container: vathpela/efi-ci:f33
+ name: f33 build
+ 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
+ run: make PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/destdir EFIDIR=test ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true clean all
+ id: build
+ - name: Install in /destdir
+ run: make PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/destdir EFIDIR=test ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true install
+ id: install
+# - name: Archive production artifacts
+# uses: actions/upload-artifact@v2
+# with:
+# name: shim
+# path: |
+# /destdir
+ pull-request-f32-x64:
+ runs-on: ubuntu-20.04
+ container: vathpela/efi-ci:f32
+ name: f32 build
+ 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
+ run: make PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/destdir EFIDIR=test ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true clean all
+ id: build
+ - name: Install in /destdir
+ run: make PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/destdir EFIDIR=test ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true install
+ id: install
+# - name: Archive production artifacts
+# uses: actions/upload-artifact@v2
+# with:
+# name: shim
+# path: |
+# /destdir
+ pull-request-f31-x64:
+ runs-on: ubuntu-20.04
+ container: vathpela/efi-ci:f31
+ name: f31 build
+ 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
+ run: make PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/destdir EFIDIR=test ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true clean all
+ id: build
+ - name: Install in /destdir
+ run: make PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/destdir EFIDIR=test ENABLE_HTTPBOOT=true ENABLE_SHIM_HASH=true install
+ id: install
+# - name: Archive production artifacts
+# uses: actions/upload-artifact@v2
+# with:
+# name: shim
+# path: |
+# /destdir