Skip to content

Commit 2e4ee81

Browse files
committed
Adding UKI runner
1 parent 62808cf commit 2e4ee81

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/uki-build.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow will build an Arch Linux UKI file with the commit on it
2+
3+
name: Build Arch UKI with ArchInstall Commit
4+
5+
on:
6+
push:
7+
branches:
8+
- master
9+
- main # In case we adopt this convention in the future
10+
pull_request:
11+
paths-ignore:
12+
- 'docs/**'
13+
- '**.editorconfig'
14+
- '**.gitignore'
15+
- '**.md'
16+
- 'LICENSE'
17+
- 'PKGBUILD'
18+
release:
19+
types:
20+
- created
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
container:
26+
image: archlinux/archlinux:latest
27+
options: --privileged
28+
steps:
29+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
30+
- run: pwd
31+
- run: find .
32+
- run: cat /etc/os-release
33+
- run: pacman-key --init
34+
- run: pacman --noconfirm -Sy archlinux-keyring
35+
- run: pacman --noconfirm -Sy mkosi
36+
- run: (cd test_tooling/mkosi/ && mkosi build -B)
37+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
38+
with:
39+
name: Arch Live UKI
40+
path: test_tooling/mkosi/mkosi.output/*.efi

0 commit comments

Comments
 (0)