Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
[no ci] Workflow for system extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe authored Oct 27, 2023
1 parent 648ed75 commit ea50670
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/sysexts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: System Extensions

on:
workflow_dispatch:

jobs:
system-extensions:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch: [ x86-64, arm64 ]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup mkosi
uses: systemd/mkosi@v18
- name: Build base image
run: sudo mkosi --architecture=${{ matrix.arch }}
working-directory: ./sysexts/mkosi/debian-testing-base
- name: Build debug image
run: sudo mkosi build --base-tree=../debian-testing-base --overlay --architecture=${{ matrix.arch }}
working-directory: ./sysexts/mkosi/debug
- name: Upload debian ${{ matrix.arch }} image
uses: actions/upload-artifact@v3
with:
name: debug-${{ matrix.arch }}
path: sysexts/mkosi/debug/debug.raw
retention-days: 2

0 comments on commit ea50670

Please sign in to comment.