submodules: update mkosi, systemd #57
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-image: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup mkosi | |
uses: systemd/mkosi@c37a55f91bc4b5fe325123e971b10ab0d0e8a0f6 | |
- name: Install dependencies | |
run: | |
sudo apt-get install --assume-yes --no-install-recommends python3-pefile | |
- name: Initialize secure boot secrets | |
if: github.repository == 'davide125/arcadeos' | |
env: | |
ARCADEOS_SECURE_BOOT_CERTIFICATE: ${{vars.ARCADEOS_SECURE_BOOT_CERTIFICATE}} | |
ARCADEOS_SECURE_BOOT_KEY: ${{secrets.ARCADEOS_SECURE_BOOT_KEY}} | |
run: | | |
echo "$ARCADEOS_SECURE_BOOT_CERTIFICATE" > mkosi.crt | |
echo "$ARCADEOS_SECURE_BOOT_KEY" > mkosi.key | |
chmod 0600 mkosi.key | |
- name: Bootstrap | |
run: ./scripts/bootstrap | |
- name: Build | |
run: ./mkosi -f |