-
Notifications
You must be signed in to change notification settings - Fork 66
51 lines (49 loc) · 1.29 KB
/
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
42
43
44
45
46
47
48
49
50
51
name: Build SDL2 console apps
on:
push:
branches:
- main
- test
pull_request:
branches:
- main
jobs:
all:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- platform: wiiu
ext: wuhb
- platform: switch
ext: nro
# - platform: 3ds
# ext: 3dsx
- platform: wii
ext: dol
container:
image: ghcr.io/fortheusers/sealeo:latest
steps:
- uses: actions/checkout@main
with:
submodules: recursive
- if: matrix.platform == 'wii'
name: Setup SDL2 Widescreen
run: |
git clone https://github.com/Fancy2209/SDL -b Widescreen
cd SDL
apt-get install ninja-build
cmake -D CMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Wii.cmake -B build -G Ninja
cmake --build build --parallel
cmake --install build
- name: Build ${{ matrix.platform }}
run: make ${{ matrix.platform }}
- uses: actions/upload-artifact@v4
with:
name: appstore.${{ matrix.ext }}
path: /__w/hb-appstore/hb-appstore/appstore.${{ matrix.ext }}
- if: matrix.platform == 'wiiu'
uses: actions/upload-artifact@v4
with:
name: appstore.rpx
path: /__w/hb-appstore/hb-appstore/appstore.rpx