Skip to content

Commit

Permalink
.github/workflows: Use ipxe-run.sh to run ipxe server
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Langowski <[email protected]>
  • Loading branch information
PLangowski committed Dec 6, 2024
1 parent 0aafcf6 commit 84f0e76
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,8 @@ jobs:
- name: Run IPXE server
shell: bash
run: |
mkdir ipxe
cp build/tmp/deploy/images/genericx86-64/dts-base-image-genericx86-64.cpio.gz ipxe
cp build/tmp/deploy/images/genericx86-64/bzImage ipxe
echo -e "\n
#!ipxe\n
imgfetch --name file_kernel bzImage\n
imgfetch --name file_initrd dts-base-image-genericx86-64.cpio.gz\n
kernel file_kernel root=/dev/nfs initrd=file_initrd\n
boot" > ipxe/dts.ipxe
cd ipxe && python3 -m http.server 4321 &
cd open-source-firmware-validation
./scripts/ci/ipxe-run.sh build/tmp/deploy/images/genericx86-64/dts-base-image-genericx86-64.cpio.gz build/tmp/deploy/images/genericx86-64/bzImage &
- name: Install requirements
shell: bash
run: |
Expand Down

0 comments on commit 84f0e76

Please sign in to comment.