-
Notifications
You must be signed in to change notification settings - Fork 5
56 lines (52 loc) · 1.73 KB
/
nxcord.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
name: NXCord
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Updating repo
run: git submodule update --init --recursive
- name: Installing devkitPro
run: |
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
sudo dpkg -i devkitpro-pacman.deb
sudo dkp-pacman -S $(dkp-pacman -Ssq switch-*) --noconfirm
- name: Building
run: |
export DEVKITPRO=/opt/devkitpro
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../DevkitA64Libnx.cmake ..
make -j$(nproc)
- name: Uploading sysmodule
uses: actions/[email protected]
with:
name: sysmodule.nsp
path: build/sysmodule.nsp
- name: Uploading client
uses: actions/[email protected]
with:
name: client.nro
path: build/client.nro
- name: Uploading overlay
uses: actions/[email protected]
with:
name: overlay.ovl
path: build/overlay.ovl
- name: Building other flavors
run: |
export DEVKITPRO=/opt/devkitpro
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../DevkitA64Libnx.cmake -DENABLE_CLIENT_STANDALONE=ON -DENABLE_SYSMODULE_APPLICATION=ON ..
make -j$(nproc)
- name: Uploading sysmodule application
uses: actions/[email protected]
with:
name: sysmodule_application.nro
path: build/sysmodule.nro
- name: Uploading standalone client
uses: actions/[email protected]
with:
name: client_standlone.nro
path: build/client.nro