SDL: CI: change FreeBSD CI runner to cross-platform-actions. (a9aa1)

From a9aa15c792c4add1936fb4bc098db0da306127bb Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 26 Oct 2023 01:03:40 +0300
Subject: [PATCH] CI: change FreeBSD CI runner to cross-platform-actions.

---
 .../{vmactions.yml => cpactions.yml}          | 20 +++++++++----------
 1 file changed, 9 insertions(+), 11 deletions(-)
 rename .github/workflows/{vmactions.yml => cpactions.yml} (86%)

diff --git a/.github/workflows/vmactions.yml b/.github/workflows/cpactions.yml
similarity index 86%
rename from .github/workflows/vmactions.yml
rename to .github/workflows/cpactions.yml
index cdcf340b4bc6..b4ebb38d99d7 100644
--- a/.github/workflows/vmactions.yml
+++ b/.github/workflows/cpactions.yml
@@ -1,4 +1,4 @@
-name: Build (VM Actions)
+name: Build (C/P Actions)
 
 on: [push, pull_request]
 
@@ -8,18 +8,19 @@ concurrency:
 
 jobs:
   freebsd:
-    runs-on: macos-12
+    runs-on: ubuntu-latest
     name: FreeBSD
     timeout-minutes: 30
     steps:
     - uses: actions/checkout@v3
     - name: Build
-      uses: vmactions/freebsd-vm@v0
+      uses: cross-platform-actions/action@v0.19.1
       with:
-        mem: 8192
-        usesh: true
-        prepare: |
-          pkg install -y \
+        operating_system: freebsd
+        version: '13.2'
+        run: |
+          sudo pkg update
+          sudo pkg install -y \
               cmake \
               ninja \
               pkgconf \
@@ -46,11 +47,8 @@ jobs:
               dbus \
               zh-fcitx \
               ibus \
-              libsamplerate \
               libudev-devd
-
-        run: |
-          cmake -S . -B build -GNinja \
+          cmake -S . -B build -GNinja  \
             -Wdeprecated -Wdev -Werror \
             -DCMAKE_BUILD_TYPE=Release \
             -DSDL_HIDAPI_LIBUSB=OFF \