git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git] / deps / libchdr / .github / workflows / switch.yml
diff --git a/deps/libchdr/.github/workflows/switch.yml b/deps/libchdr/.github/workflows/switch.yml
new file mode 100644 (file)
index 0000000..8b39616
--- /dev/null
@@ -0,0 +1,17 @@
+name: Nintendo Switch
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    container: devkitpro/devkita64:latest
+
+    steps:
+      - uses: actions/checkout@v4
+
+      - name: Configure CMake
+        run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/Switch.cmake
+
+      - name: Build
+        run: cmake --build ${{github.workspace}}/build --config Release
\ No newline at end of file