221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
|
- os: linux
dist: trusty
env:
- config=amigaos
# Nintendo 3DS
- os: linux
dist: trusty
env:
- config=nintendo_3ds
# Nintendo DS
- os: linux
dist: trusty
env:
- config=nintendo_ds
# Nintendo Wii
- os: linux
dist: trusty
env:
- config=wii
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
case "$TRAVIS_CPU_ARCH" in
amd64 | s390x)
|
|
|
|
|
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
|
- os: linux
dist: trusty
env:
- config=amigaos
# Nintendo 3DS
- os: linux
dist: bionic
env:
- config=nintendo_3ds
# Nintendo DS
- os: linux
dist: bionic
env:
- config=nintendo_ds
# Nintendo Wii
- os: linux
dist: bionic
env:
- config=wii
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
case "$TRAVIS_CPU_ARCH" in
amd64 | s390x)
|
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
|
if grep precise /etc/lsb-release >/dev/null; then
sudo ipx_internal_net add 1234 123456;
fi;
fi
- if [ "$config" = "nintendo_3ds" -o "$config" = "nintendo_ds"
-o "$config" = "wii" ]; then
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb;
sudo dpkg -i devkitpro-pacman.deb;
fi
- if [ "$config" = "nintendo_3ds" ]; then
sudo dkp-pacman --noconfirm -Syu 3ds-dev;
fi
- if [ "$config" = "nintendo_ds" ]; then
sudo dkp-pacman --noconfirm -Syu nds-dev;
fi
- if [ "$config" = "wii" ]; then
sudo dkp-pacman --noconfirm -Syu wii-dev;
fi
- if [ "$config" = "amigaos" ]; then
wget -q https://franke.ms/download/amiga-gcc.tgz;
tar -C / -xzf amiga-gcc.tgz;
fi
script:
# This needs to use ed on macOS, as it has no GNU sed, and sed on Linux, as
# some Travis hosts have no ed.
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
echo -e '%s/-DSTDOUT$/&_SIMPLE/\nwq' | ed -s tests/Makefile;
else
sed -i 's/-DSTDOUT$/&_SIMPLE/' tests/Makefile;
fi
- build() {
if ! git clean -fxd >/tmp/clean_log 2>&1; then
cat /tmp/clean_log;
exit 1;
fi;
echo ">> Configuring with $@";
./autogen.sh;
|
>
|
>
|
<
<
<
<
<
<
<
<
|
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
|
if grep precise /etc/lsb-release >/dev/null; then
sudo ipx_internal_net add 1234 123456;
fi;
fi
- if [ "$config" = "nintendo_3ds" -o "$config" = "nintendo_ds"
-o "$config" = "wii" ]; then
deb=devkitpro-pacman.amd64.deb;
wget https://github.com/devkitPro/pacman/releases/download/v1.0.2/$deb;
sudo apt install gdebi;
sudo gdebi -n $deb;
fi
- if [ "$config" = "nintendo_3ds" ]; then
sudo dkp-pacman --noconfirm -Syu 3ds-dev;
fi
- if [ "$config" = "nintendo_ds" ]; then
sudo dkp-pacman --noconfirm -Syu nds-dev;
fi
- if [ "$config" = "wii" ]; then
sudo dkp-pacman --noconfirm -Syu wii-dev;
fi
- if [ "$config" = "amigaos" ]; then
wget -q https://franke.ms/download/amiga-gcc.tgz;
tar -C / -xzf amiga-gcc.tgz;
fi
script:
- build() {
if ! git clean -fxd >/tmp/clean_log 2>&1; then
cat /tmp/clean_log;
exit 1;
fi;
echo ">> Configuring with $@";
./autogen.sh;
|