-
Notifications
You must be signed in to change notification settings - Fork 107
66 lines (54 loc) · 1.45 KB
/
nightly.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
58
59
60
61
62
63
64
65
66
name: Nightly
on:
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
container:
image: devkitpro/devkita64:latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup ccache
uses: hendrikmuhs/[email protected]
- name: update Atmosphere-libs
run: |
pushd Atmosphere-libs
git fetch --all
git reset --hard origin/master
popd
- name: Build
id: build
run: make -j8 PREFIX="ccache aarch64-none-elf-"
continue-on-error: true
- name: Install libnx master & Retry build
id: retry
if: ${{ steps.build.outcome == 'failure' }}
run: |
pushd /tmp
git clone https://github.com/switchbrew/libnx
cd libnx
make -j8 PREFIX="ccache aarch64-none-elf-"
make install
popd
make -j8 PREFIX="ccache aarch64-none-elf-"
- name: Upload built files
uses: actions/upload-artifact@v3
with:
name: sdcard
path: out/sd
- name: Upload elf file
uses: actions/upload-artifact@v3
with:
name: ldn_mitm.elf
path: ldn_mitm/ldn_mitm.elf
- name: Upload elf file
uses: actions/upload-artifact@v3
with:
name: ldn_mitm.elf
path: overlay/overlay.elf