-
Notifications
You must be signed in to change notification settings - Fork 40
194 lines (193 loc) · 5.12 KB
/
ci.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
name: Run OpenSupaplex CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build-linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./linux/ci-prepare.sh
./linux/ci-build.sh
shell: bash
- name: Linux artifact
uses: actions/upload-artifact@v4
with:
name: linux-build
path: linux/OpenSupaplex-linux.zip
build-macos:
name: macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./macos/ci-prepare.sh
./macos/ci-build.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: macos-build
path: macos/OpenSupaplex-macOS.zip
build-vita:
name: PS Vita
runs-on: ubuntu-22.04
container: sergiou87/vita-docker-open-supaplex:7.2
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./vita/ci-build-vita.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: vita-build
path: vita/build/OpenSupaplex.vpk
build-switch:
name: Nintendo Switch
runs-on: ubuntu-22.04
container: sergiou87/switch-docker-open-supaplex:7.1
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./switch/ci-build-switch.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: switch-build
path: switch/OpenSupaplex-switch.zip
build-psp:
name: PSP
runs-on: ubuntu-22.04
container: sergiou87/pspdev-docker-open-supaplex:7.1
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./psp/ci-install-dependencies.sh
./psp/ci-build.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: psp-build
path: psp/OpenSupaplex-psp.zip
build-ps3:
name: PS3
runs-on: ubuntu-22.04
container: sergiou87/ps3dev-docker-open-supaplex:7.2
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./ps3/ci-build.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: ps3-build
path: ps3/OpenSupaplex.pkg
build-wii:
name: Wii
runs-on: ubuntu-22.04
container: sergiou87/wii-docker-open-supaplex:7.2
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./wii/ci-build.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: wii-build
path: wii/OpenSupaplex-wii.zip
build-wiiu:
name: Wii U
runs-on: ubuntu-22.04
container: sergiou87/wiiu-docker-open-supaplex:7.2
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./wiiu/ci-build.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: wiiu-build
path: wiiu/OpenSupaplex-wiiu.zip
build-nds:
name: Nintendo DS
runs-on: ubuntu-22.04
container: sergiou87/nds-docker-open-supaplex:7.2
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./nds/ci-build-nds.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: nds-build
path: nds/OpenSupaplex.nds
build-3ds:
name: Nintendo 3DS
runs-on: ubuntu-22.04
container: sergiou87/3ds-docker-open-supaplex:7.1
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./3ds/ci-build-3ds.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: 3ds-build
path: 3ds/OpenSupaplex-3ds.zip
build-riscos:
name: RISC OS
runs-on: ubuntu-22.04
container: sergiou87/riscos-docker-open-supaplex:7.2
steps:
- uses: actions/checkout@v1
- name: Build OpenSupaplex
run: |
./riscos/ci-build.sh
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: riscos-build
path: riscos/OpenSupaplex-riscos.zip
build-windows-x86_64:
name: Windows x86_64
runs-on: windows-latest
steps:
- uses: msys2/setup-msys2@v2
- run: git config --global core.autocrlf false
- uses: actions/checkout@v1
- name: Prepare build environment
run: |
msys2 -c './windows/ci-prepare.sh x86_64'
- name: Build OpenSupaplex
run: |
cd windows
msys2 -c './ci-build.sh x86_64'
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: windows-x86_64-build
path: windows/OpenSupaplex-windows-x86_64.zip