-
-
Notifications
You must be signed in to change notification settings - Fork 55
41 lines (31 loc) · 892 Bytes
/
main.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
name: Build uLaunch
on: [push]
jobs:
uLaunch:
runs-on: ubuntu-latest
container:
image: devkitpro/devkita64
steps:
- uses: actions/checkout@v3
- name: Update packages
run: |
sudo -n apt-get update
sudo -n apt-get upgrade -y git maven
- name: Silence all git safe directory warnings
run: git config --system --add safe.directory '*'
- name: Update repository
run: |
git submodule update --init --recursive
- name: Prepare master libnx
run: |
git clone https://github.com/switchbrew/libnx
make -C libnx/
cp -r libnx/nx/external/bsd/include libnx/nx
- name: Compile
run: |
make -j$(nproc) LIBNX=$PWD/libnx/nx/
zip -r SdOut.zip SdOut
- uses: actions/upload-artifact@master
with:
name: SdOut
path: SdOut.zip