Skip to content

Commit

Permalink
switch: Fix workflow (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute authored Feb 13, 2024
1 parent fd37636 commit 371ccb8
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/switch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,25 @@ jobs:
container:
image: devkitpro/devkita64:latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Configure
run: |
. /opt/devkitpro/switchvars.sh
mkdir _build && cd _build
../configure --host=aarch64-none-elf \
--prefix=`pwd`/switch-sdl2 \
--disable-shared --enable-static \
--enable-audio \
--enable-joystick \
--disable-power \
--disable-filesystem \
--enable-cpuinfo \
--enable-pthreads \
--enable-timers \
--enable-video
./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: make -C _build
- name: install
run: make -C _build install
run: |
. /opt/devkitpro/switchvars.sh
make
- name: Install
run: |
. /opt/devkitpro/switchvars.sh
make install

0 comments on commit 371ccb8

Please sign in to comment.