forked from RSDKModding/RSDKv4-Decompilation
-
Notifications
You must be signed in to change notification settings - Fork 6
31 lines (29 loc) · 805 Bytes
/
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
name: Nintendo Switch
on:
push:
branches: [ foreve, 1.2.0 ]
pull_request:
branches: [ foreve, 1.2.0 ]
jobs:
build:
runs-on: ubuntu-20.04
container: devkitpro/devkita64:20200730
steps:
- name: Checkout repo
uses: actions/checkout@v1
with:
submodules: true
- name: make clean
run: make PLATFORM=Switch clean
- name: make
run: make PLATFORM=Switch
- name: Create directory structure
run: |
mkdir -p bin/sd/Switch/SonicForever
mv bin/Switch/SonicForever.nro bin/sd/Switch/SonicForever
mkdir -p bin/sd/Switch/Sonic2Absolute
mv bin/Switch/Sonic2Absolute.nro bin/sd/Switch/Sonic2Absolute
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
path: bin/sd/Switch/