forked from libsdl-org/SDL
-
-
Notifications
You must be signed in to change notification settings - Fork 20
32 lines (30 loc) · 840 Bytes
/
switch.yml
File metadata and controls
32 lines (30 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build (Nintendo Switch)
on: [push, pull_request]
jobs:
switch:
runs-on: ubuntu-latest
container:
image: devkitpro/devkita64:latest
steps:
- uses: actions/checkout@v4
- name: Configure
run: |
. /opt/devkitpro/switchvars.sh
./configure --prefix=`pwd`/switch-sdl2 --host=aarch64-none-elf \
--disable-shared --enable-static \
--enable-audio \
--enable-joystick \
--disable-power \
--disable-filesystem \
--enable-cpuinfo \
--enable-pthreads \
--enable-timers \
--enable-video
- name: Build
run: |
. /opt/devkitpro/switchvars.sh
make
- name: Install
run: |
. /opt/devkitpro/switchvars.sh
make install