-
-
Notifications
You must be signed in to change notification settings - Fork 43
52 lines (39 loc) · 1.05 KB
/
Nintendo Switch.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Nintendo Switch
on: [push, pull_request]
jobs:
Switch-Release:
runs-on: ubuntu-latest
container:
image: docker://devkitpro/devkita64
options: --cpus 2
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: catnip -T Switch
- id: commit
uses: prompt/actions-commit-hash@v3
- uses: actions/upload-artifact@v4
with:
name: Nintendo Switch-${{ steps.commit.outputs.short }}
path: |
build/**/*.elf
build/**/*.nro
Switch-Debug:
runs-on: ubuntu-latest
container:
image: docker://devkitpro/devkita64
options: --cpus 2
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: catnip -T Switch debug
- id: commit
uses: prompt/actions-commit-hash@v3
- uses: actions/upload-artifact@v4
with:
name: Nintendo Switch (Debug)-${{ steps.commit.outputs.short }}
path: |
build/**/*.elf
build/**/*.nro