We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 880f314 commit 849827eCopy full SHA for 849827e
1 file changed
.github/workflows/switch.yml
@@ -0,0 +1,30 @@
1
+name: Build (Nintendo Switch)
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ switch:
7
+ runs-on: ubuntu-latest
8
+ container:
9
+ image: devkitpro/devkita64:latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - name: Configure
13
+ run: |
14
+ . /opt/devkitpro/switchvars.sh \
15
+ mkdir _build && cd _build \
16
+ ../configure --host=aarch64-none-elf \
17
+ --prefix=switch-sdl2 \
18
+ --disable-shared --enable-static \
19
+ --enable-audio \
20
+ --enable-joystick \
21
+ --disable-power \
22
+ --disable-filesystem \
23
+ --enable-cpuinfo \
24
+ --enable-pthreads \
25
+ --enable-timers \
26
+ --enable-video
27
+ - name: Build
28
+ run: make
29
+ - name: install
30
+ run: make -C _build install
0 commit comments