Skip to content

Commit

Permalink
.github: Build PXE image as additional VM image format
Browse files Browse the repository at this point in the history
The PXE image and its helper script is a very handy way to test an image
because it does not preserve state. One can boot the same file over and
over again without having to reset the image. One can also easily pass
in additional kernel cmdline options without having to set up grub.cfg.
  • Loading branch information
pothos committed Feb 27, 2024
1 parent 500f644 commit e9f55d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: |
Space-separated vendor formats to build.
required: true
default: qemu_uefi
default: qemu_uefi pxe
custom_sdk_version:
type: string
required: false
Expand All @@ -21,7 +21,7 @@ on:
description: |
Space-separated vendor formats to build.
required: true
default: qemu_uefi
default: qemu_uefi pxe
custom_sdk_version:
type: string
required: false
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
arch="${{ matrix.arch }}"
echo "arch=${arch}" >> $GITHUB_ENV
IMAGE_FORMATS="qemu_uefi"
IMAGE_FORMATS="qemu_uefi pxe"
[ -z "${{ inputs.image_formats }}" ] || IMAGE_FORMATS="${{ inputs.image_formats }}"
echo "IMAGE_FORMATS=${IMAGE_FORMATS}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-comment-build-dispatcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ jobs:
uses: ./.github/workflows/ci.yaml
with:
custom_sdk_version: ${{ needs.update_sdk.outputs.sdk_version }}
image_formats: qemu_uefi
image_formats: qemu_uefi pxe
2 changes: 1 addition & 1 deletion .github/workflows/pr-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
uses: ./.github/workflows/ci.yaml
with:
custom_sdk_version: ${{ needs.update_sdk.outputs.sdk_version }}
image_formats: qemu_uefi
image_formats: qemu_uefi pxe

0 comments on commit e9f55d3

Please sign in to comment.