Skip to content

Commit 7aa2b1e

Browse files
committed
CI: fix kernel_version
Signed-off-by: Florian Lehner <dev@der-flo.net>
1 parent 141797c commit 7aa2b1e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/example.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,12 @@ jobs:
106106
if: matrix.target_arch == 'amd64'
107107
# Run the x86 specific tests.
108108
run: |
109-
qemu-system-x86_64 -nographic -append "console=ttyS0" -m 2G -kernel /tmp/ci-kernel/${{ matrix.target_arch }}/${{ matrix.kernel-version }}/boot/vmlinuz -initrd initramfs.cpio | tee log.txt
109+
set -o pipefail
110+
qemu-system-x86_64 -nographic -append "console=ttyS0" -m 2G -kernel /tmp/ci-kernel/${{ matrix.target_arch }}/${{ matrix.kernel_version }}/boot/vmlinuz -initrd initramfs.cpio | tee log.txt
110111
111112
- name: run tests on arm64 kernel
112113
if: matrix.target_arch == 'arm64'
113114
# Run the arm64 specific tests.
114115
run: |
115-
qemu-system-aarch64 -nographic -append "console=ttyAMA0" -M virt -cpu cortex-a57 -m 4G -kernel /tmp/ci-kernel/${{ matrix.target_arch }}/${{ matrix.kernel-version }}/boot/vmlinuz -initrd initramfs.cpio | tee log.txt
116+
set -o pipefail
117+
qemu-system-aarch64 -nographic -append "console=ttyAMA0" -M virt -cpu cortex-a57 -m 4G -kernel /tmp/ci-kernel/${{ matrix.target_arch }}/${{ matrix.kernel_version }}/boot/vmlinuz -initrd initramfs.cpio | tee log.txt

0 commit comments

Comments
 (0)