ci: stream the VM tests' progress into the job log

This commit is contained in:
theupriser committed 2026-09-30 10:50:48 +02:00
1 parent d12be7eaa2
commit 1a2d81c0a0
1 file changed
+4
+4
View File
@@ -84,6 +84,8 @@ jobs:
VM_INSTALL_MEM: 6G VM_INSTALL_MEM: 6G
run: | run: |
cd steamify-cachyos-dev cd steamify-cachyos-dev
touch ~/vms/test.log; tail -n +1 -F ~/vms/test.log & tailpid=$! # the test's progress, as it happens
trap 'kill $tailpid 2>/dev/null' EXIT
VM_ISO=/mnt/work/iso/steamify.iso scripts/vmbootloadertest.sh "${{ matrix.loader }}" --install VM_ISO=/mnt/work/iso/steamify.iso scripts/vmbootloadertest.sh "${{ matrix.loader }}" --install
- name: Logs - name: Logs
if: always() if: always()
@@ -139,6 +141,8 @@ jobs:
MAX_PARALLEL: "2" MAX_PARALLEL: "2"
run: | run: |
cd steamify-cachyos-dev cd steamify-cachyos-dev
touch ~/vms/test.log; tail -n +1 -F ~/vms/test.log & tailpid=$! # the suites' progress, as it happens
trap 'kill $tailpid 2>/dev/null' EXIT
scripts/vmtest.sh ${{ matrix.suite }} scripts/vmtest.sh ${{ matrix.suite }}
- name: Logs - name: Logs
if: always() if: always()