41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# This workflow will build an Arch Linux UKI file with the commit on it
|
|
|
|
name: Build Arch UKI with ArchInstall Commit
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main # In case we adopt this convention in the future
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '**.editorconfig'
|
|
- '**.gitignore'
|
|
- '**.md'
|
|
- 'LICENSE'
|
|
- 'PKGBUILD'
|
|
release:
|
|
types:
|
|
- created
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: archlinux/archlinux:latest
|
|
options: --privileged
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
|
- run: pwd
|
|
- run: find .
|
|
- run: cat /etc/os-release
|
|
- run: pacman-key --init
|
|
- run: pacman --noconfirm -Sy archlinux-keyring
|
|
- run: pacman --noconfirm -Sy mkosi
|
|
- run: (cd test_tooling/mkosi/ && mkosi build -B)
|
|
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
|
|
with:
|
|
name: Arch Live UKI
|
|
path: test_tooling/mkosi/mkosi.output/*.efi
|