Skip to content

Commit

Permalink
update github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: gbionescu <[email protected]>
  • Loading branch information
gbionescu committed Sep 4, 2024
1 parent c7f8ca4 commit cb1cb8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Build alpine image
run: sudo ./build-rootfs.sh alpine
- name: Install prerequisites
run: sudo apt install docker qemu-system

- name: Build ubuntu 21.04 image
run: sudo ./build-rootfs.sh ubuntu21.04

- name: Build al2
run: sudo ./build-rootfs.sh amazonlinux2
- name: Build and test all images
run: sudo ./tests/test-all.sh
3 changes: 2 additions & 1 deletion tests/qemu-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
set -e

TIMEOUT=60
SCRIPT_DIR="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"

echo "Testing $1"
qemu-system-x86_64 \
-kernel /home/debian/linux/linux-6.1.22/arch/x86/boot/bzImage \
-kernel "$SCRIPT_DIR/../kernel/bzImage-6.1.22" \
-append "console=ttyS0 root=/dev/sda earlyprintk=serial" \
-nographic -m 512M \
-hda "$1" > serial.log 2>&1 &
Expand Down

0 comments on commit cb1cb8e

Please sign in to comment.