SDL: ci: restart VM after installing haiku dependencies

From 72f40cb1f569e4543d0af46380326e4c708b0d50 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 30 Jan 2023 18:47:04 +0100
Subject: [PATCH] ci: restart VM after installing haiku dependencies

---
 .github/workflows/haiku.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/haiku.yml b/.github/workflows/haiku.yml
index b84d2fbeee4e..5b6e5ab0c271 100644
--- a/.github/workflows/haiku.yml
+++ b/.github/workflows/haiku.yml
@@ -20,6 +20,9 @@ jobs:
     - name: Setup Haiku dependencies
       run: |
         vmshell pkgman install -y cmd:cmake cmd:gcc cmd:ld cmd:ninja cmd:pkg_config haiku_devel devel:libgl devel:libglu
+    - name: Restart VM
+      run: |
+        sv force-restart qemu; timeout 600 vmshell exit 0
     - uses: actions/checkout@v3
     - name: Copy project to VM
       run: |