Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed May 25, 2024
1 parent 2ab0e41 commit 555a795
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# this is a test workflow, not ready for prod

name: "Build images"

on:
workflow_dispatch:
push:
branches:
- um40-devel

jobs:
images:
strategy:
fail-fast: false
matrix:
build:
- manifest_path: "base/base-disk"
edition: "base"

uses: ./.github/workflows/diskimg.yml
with:
manifest_path: ${{ matrix.build.manifest_path }}
edition: ${{ matrix.build.edition }}
secrets: inherit
5 changes: 2 additions & 3 deletions .github/workflows/diskimg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,12 @@ env:
grub2-efi
uboot-images-armv8
uboot-tools
rustc
qemu-user-static-aarch64
qemu-user-binfmt
qemu-kvm
qemu-img
cargo
systemd-devel
mkpasswd
clang-devel
moby-engine
squashfs-tools
erofs-utils
Expand Down Expand Up @@ -87,6 +84,8 @@ jobs:
manifest_path="katsu/${{ github.event.inputs.manifest_path }}-${{ matrix.arch }}.yaml"
export KATSU_LOG=trace
- name: Label and compress image
run: |
katsu -v --output=disk-image $manifest_path
mv katsu-work/image/katsu.img katsu-work/image/${{ env.artifact }}.img
Expand Down

0 comments on commit 555a795

Please sign in to comment.