forked from ogniK5377/switch-nfp-mitm
-
-
Notifications
You must be signed in to change notification settings - Fork 83
55 lines (43 loc) · 1.12 KB
/
emuiibo.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
name: Build emuiibo
on:
push:
paths:
- 'emuiibo/**'
- 'overlay/**'
jobs:
emuiibo:
runs-on: ubuntu-latest
container: devkitpro/devkita64:latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Update packages
run: |
sudo -n apt-get update
sudo -n apt-get upgrade -y git build-essential
- name: Prepare Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: Prepare rust-src
run: rustup component add rust-src
- name: Prepare cargo-nx
run: cargo install cargo-nx --git https://github.com/aarch64-switch-rs/cargo-nx
- name: Checkout latest libnx commit
run: |
git clone --recurse-submodules https://github.com/switchbrew/libnx.git
- name: Build and install libnx
run: |
cd libnx
make install -j$(nproc)
- name: Build
run: make emuiibo -j$(nproc)
- name: Upload
uses: actions/upload-artifact@v3
with:
name: SdOut
path: SdOut