Skip to content

Commit 371ccb8

Browse files
authored
switch: Fix workflow (#55)
1 parent fd37636 commit 371ccb8

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

.github/workflows/switch.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,25 @@ jobs:
88
container:
99
image: devkitpro/devkita64:latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Configure
1313
run: |
1414
. /opt/devkitpro/switchvars.sh
15-
mkdir _build && cd _build
16-
../configure --host=aarch64-none-elf \
17-
--prefix=`pwd`/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
15+
./configure --prefix=`pwd`/switch-sdl2 --host=aarch64-none-elf \
16+
--disable-shared --enable-static \
17+
--enable-audio \
18+
--enable-joystick \
19+
--disable-power \
20+
--disable-filesystem \
21+
--enable-cpuinfo \
22+
--enable-pthreads \
23+
--enable-timers \
24+
--enable-video
2725
- name: Build
28-
run: make -C _build
29-
- name: install
30-
run: make -C _build install
26+
run: |
27+
. /opt/devkitpro/switchvars.sh
28+
make
29+
- name: Install
30+
run: |
31+
. /opt/devkitpro/switchvars.sh
32+
make install

0 commit comments

Comments
 (0)