Skip to content

Commit

Permalink
switch: add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed Jan 20, 2024
1 parent 880f314 commit df608a1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/switch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build (Nintendo Switch)

on: [push, pull_request]

jobs:
n3ds:
runs-on: ubuntu-latest
container:
image: devkitpro/devkita64:latest
steps:
- uses: actions/checkout@v3
- name: Configure
run: |
source /opt/devkitpro/devkita64/switchvars.sh \
mkdir _build && cd _build \
../configure --host=aarch64-none-elf \
--prefix=switch-sdl2 \
--disable-shared --enable-static \
--enable-audio \
--enable-joystick \
--disable-power \
--disable-filesystem \
--enable-cpuinfo \
--enable-pthreads \
--enable-timers \
--enable-video
- name: Build
run: make
- name: install
run: make -C _build install

0 comments on commit df608a1

Please sign in to comment.