-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 1.18 KB
/
Copy pathswitch.yml
File metadata and controls
52 lines (44 loc) · 1.18 KB
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
name: Build Nintendo Switch NRO
on:
push:
branches:
- master
paths:
- '.github/workflows/switch.yml'
- 'CMakeLists.txt'
- 'shadowflare/**'
- 'thirdparty/twl/**'
- 'thirdparty/tal/**'
- 'tools/switch/**'
pull_request:
paths:
- '.github/workflows/switch.yml'
- 'CMakeLists.txt'
- 'shadowflare/**'
- 'thirdparty/twl/**'
- 'thirdparty/tal/**'
- 'tools/switch/**'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: devkitpro/devkita64:20260219
steps:
- name: Check out the repository
uses: actions/checkout@v6
- name: Build the release NRO
run: sh tools/switch/build-nro.sh
- name: Verify the NRO
run: test -s build/switch/release/OpenShadowFlare.nro
- name: Upload the NRO
uses: actions/upload-artifact@v4
with:
name: openshadowflare-switch-release
path: build/switch/release/OpenShadowFlare.nro
if-no-files-found: error