Sfoglia il codice sorgente

CI: Add PS VIta build

Pierre Wendling 3 anni fa
parent
commit
1e6e9f364e
1 ha cambiato i file con 22 aggiunte e 0 eliminazioni
  1. 22 0
      .github/workflows/vita.yaml

+ 22 - 0
.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