summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2023-01-31 18:53:28 +0100
committerJan Janssen <medhefgo@web.de>2023-02-01 17:16:03 +0100
commit2de6cc18f9ab6ceb46fd5008847f0226388fee90 (patch)
tree879bcc86b70350828e28b4e5dbdf28b47f611ad5 /.github
parentc2aed1d16c591dc0390ac5dbd9bd0d1e775aa917 (diff)
downloadsystemd-2de6cc18f9ab6ceb46fd5008847f0226388fee90.tar.gz
ci: Test with secure boot enabled under mkosi
This gives us some nice test coverage for secure boot enrolling and the stub secure boot workound. The authenticated EFI variables are already created by mkosi, all we need to do is request secure boot to be used.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/mkosi.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml
index d952e6b31b..84f930abd1 100644
--- a/.github/workflows/mkosi.yml
+++ b/.github/workflows/mkosi.yml
@@ -95,8 +95,11 @@ jobs:
KernelCommandLine=${{ env.KERNEL_CMDLINE }}
EOF
+ - name: Generate secure boot key
+ run: sudo mkosi genkey
+
- name: Build ${{ matrix.distro }}
- run: sudo mkosi --idmap no
+ run: sudo mkosi --idmap no --secure-boot
- name: Show ${{ matrix.distro }} image summary
run: sudo mkosi summary