Skip to content

Commit 3640622

Browse files
committed
add 3ds to the ci builds
1 parent 2ae44c0 commit 3640622

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

.github/workflows/nintendo.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nintendo Switch CI
1+
name: Nintendo CI
22

33
on:
44
push:
@@ -7,10 +7,23 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
switch-build:
10+
build:
11+
name: Nintendo ${{ matrix.config.name }} CI
1112
runs-on: ubuntu-22.04
1213
container:
13-
image: devkitpro/devkita64 ## base on debian:buster-slim
14+
image: devkitpro/${{ matrix.config.container }} ## base on debian:buster-slim
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
config:
19+
- name: 3ds
20+
extension: 3dsx
21+
container: devkitarm
22+
23+
- name: switch
24+
extension: nro
25+
container: devkita64
26+
1427
steps:
1528
- uses: actions/checkout@v4
1629
with:
@@ -30,10 +43,10 @@ jobs:
3043
3144
- name: Configure and Build
3245
run: |
33-
bash ./platforms/build-switch.sh
46+
bash ./platforms/build-${{ matrix.config.name }}.sh
3447
3548
- name: Upload artifacts
3649
uses: actions/upload-artifact@v4
3750
with:
38-
name: oopetris.nro
39-
path: build-switch/oopetris.nro
51+
name: ${{ matrix.config.name }} Executable
52+
path: build-${{ matrix.config.name }}/oopetris.${{ matrix.config.extension }}

0 commit comments

Comments
 (0)