-
Notifications
You must be signed in to change notification settings - Fork 14
100 lines (99 loc) · 3.12 KB
/
build.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
on:
- push
- pull_request
jobs:
riiv:
name: Riivolution
runs-on: ubuntu-latest
container:
image: devkitpro/devkitppc:20210726
steps:
- uses: actions/checkout@v2
- run: |
dpkg --add-architecture i386
apt-get update && apt-get install -y --no-install-recommends g++ libgcc1:i386 zlib1g:i386
name: dependencies
- run: make launcher -j
- uses: actions/upload-artifact@v2
with:
name: riivolution
path: launcher/riiv.zip
- run: make riifs -j
rawk:
name: RawkSD
runs-on: ubuntu-latest
container:
image: devkitpro/devkitppc:20210726
steps:
- uses: actions/checkout@v2
- run: |
dpkg --add-architecture i386
apt-get update && apt-get install -y --no-install-recommends g++ libgcc1:i386 zlib1g:i386 python3 python3-yaml
name: dependencies
- run: make rawksd -j
- uses: actions/upload-artifact@v2
with:
name: rawksd
path: rawksd/rawk.zip
msys2:
name: Windows MSYS2
runs-on: windows-latest
continue-on-error: true
defaults:
run:
shell: msys2 {0}
steps:
- shell: C:\shells\msys2bash.cmd {0}
run: |
pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0 --keyserver keyserver.ubuntu.com || pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0
pacman-key --lsign BC26F752D25B92CE272E0F44F7FD5492264BB9D0
pacman --noconfirm -U https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz
echo -e '[dkp-libs]\nServer = https://pkg.devkitpro.org/packages' >> /etc/pacman.conf
echo -e '[dkp-windows]\nServer = https://pkg.devkitpro.org/packages/windows/$arch/' >> /etc/pacman.conf
sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf
pacman --noconfirm -Sy
name: devkitPro
- uses: msys2/setup-msys2@v2
with:
release: false
install: >-
base-devel gcc python-yaml zip unzip python
wii-dev ppc-portlibs wii-portlibs devkitARM
- uses: actions/checkout@v2
- run: |
DEVKITPRO=/opt/devkitpro DEVKITPPC=$DEVKITPRO/devkitPPC DEVKITARM=$DEVKITPRO/devkitARM \
make launcher -j
name: make launcher
- uses: actions/upload-artifact@v2
with:
name: msys2-riivolution
path: launcher/riiv.zip
- run: |
PYTHON=/usr/bin/python3.exe \
DEVKITPRO=/opt/devkitpro DEVKITPPC=$DEVKITPRO/devkitPPC DEVKITARM=$DEVKITPRO/devkitARM \
make rawksd -j
name: make rawksd
- uses: actions/upload-artifact@v2
with:
name: msys2-rawksd
path: rawksd/rawk.zip
mingw:
name: Windows Mingw
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: make riifs
- uses: actions/upload-artifact@v2
with:
name: mingw32-riifs
path: riifs/server-c/riifs.exe
- run: make -C stripios
- uses: actions/upload-artifact@v2
with:
name: mingw32-stripios
path: stripios/stripios.exe
- run: make -C launcher/dollz3
- uses: actions/upload-artifact@v2
with:
name: mingw32-dol2elf
path: launcher/dollz3/dol2elf.exe