-
Notifications
You must be signed in to change notification settings - Fork 51
57 lines (46 loc) · 1.2 KB
/
switch-dev.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
53
54
55
56
57
name: switch-dev
on:
push:
branches: [ dev ]
workflow_dispatch:
jobs:
build-switch-dev:
runs-on: ubuntu-24.04
container: devkitpro/devkita64:latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install build dependencies
run: |
sudo apt -yq update
sudo apt -yq install git build-essential cmake zip
- name: Configure
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build && cd cmake-build
cmake -G "Unix Makefiles" -DPLATFORM_SWITCH=ON -DCMAKE_BUILD_TYPE=Debug ..
- name: Build pfbneo
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pfbneo.deps
make pfbneo.nro
- name: Build pgen
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pgen.nro
- name: Build pnes
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pnes.nro
- name: Build psnes
run: |
cd $GITHUB_WORKSPACE/cmake-build
make psnes.nro
- name: Build pgba
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pgba.nro