Commit 1e6e9f364e84f1fc6999c0e4090235b224c80546

Pierre Wendling 2021-08-21T12:10:37

CI: Add PS VIta build

diff --git a/.github/workflows/vita.yaml b/.github/workflows/vita.yaml
new file mode 100644
index 0000000..16bb7ff
--- /dev/null
+++ b/.github/workflows/vita.yaml
@@ -0,0 +1,22 @@
+name: Build (Sony Playstation Vita)
+
+on: [push, pull_request]
+
+jobs:
+  vita:
+    runs-on: ubuntu-latest
+    container: 
+      image: vitasdk/vitasdk:latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Install CMake and GNU Make
+      run: |
+        apk update 
+        apk add cmake make
+      shell: sh
+    - name: Configure CMake
+      run: cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
+      shell: sh
+    - name: Build
+      run: cmake --build build
+      shell: sh