-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
49 lines (44 loc) · 1.16 KB
/
.travis.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
os: linux
dist: focal
language: cpp
services:
- docker
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq g++-10
script:
- docker pull devkitpro/devkitarm
- docker run -p 4000:80 --name devkitarm devkitpro/devkitarm || true
- mkdir -p /opt/devkitpro
- docker cp devkitarm:/opt/devkitpro /opt || true
- docker cp devkitarm:/opt/devkitpro/tools /opt/devkitpro || true
- PATH=/opt/devkitpro/tools/bin:$PATH
- cd PNEO
- make DESQUID=1 NOSOUND=1 FLASHCARD=1
- mv PNEO.nds PNEO_NOSOUND_DESQUID_FLASHCARD.nds
- make DESQUID=1 rebuild
- mv PNEO.nds PNEO_DESQUID.nds
- make DESQUID=1 FLASHCARD=1 rebuild
- mv PNEO.nds PNEO_DESQUID_FLASHCARD.nds
- make FLASHCARD=1 rebuild
- mv PNEO.nds PNEO_FLASHCARD.nds
- make rebuild
- docker container stop devkitarm
- docker rm -f devkitarm
notifications:
email: false
deploy:
provider: releases
edge: true
file:
- "PNEO_NOSOUND.nds"
- "PNEO_NOSOUND_DESQUID.nds"
- "PNEO.nds"
- "PNEO_DESQUID.nds"
- "PNEO_NOSOUND_FLASHCARD.nds"
- "PNEO_NOSOUND_DESQUID_FLASHCARD.nds"
- "PNEO_FLASHCARD.nds"
- "PNEO_DESQUID_FLASHCARD.nds"
draft: true
on:
tags: true