forked from EtchedPixels/FUZIX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (36 loc) · 1.18 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
dist: focal
sudo: required
matrix:
include:
- env: TARGET=dragon-nx32
- env: TARGET=multicomp09
- env: TARGET=sbcv2
- env: TARGET=sc108
- env: TARGET=v68
- env: TARGET=tiny68k
- env: TARGET=n8vem-mark4
before_install:
- sudo add-apt-repository -n -y ppa:p-pisati/fuzix
- sudo apt-get update -q
- sudo apt-get install -y byacc automake # FUZIX build deps
- sudo update-alternatives --set yacc /usr/bin/byacc
- |
if [ "$TARGET" = "dragon-nx32" -o "$TARGET" = "multicomp09" ]; then
sudo apt-get install -y lwtools gcc6809
fi
- |
if [ "$TARGET" = "sbcv2" -o "$TARGET" = "sc108" -o "$TARGET" = "n8vem-mark4" ]; then
sudo apt-get install -y sdcc
fi
- |
if [ "$TARGET" = "v65c816" ]; then
sudo apt-get install -y cc65
fi
- |
if [ "$TARGET" = "v68" -o "$TARGET" = "tiny68k" ]; then
sudo apt-get install -y m68k-uclinux-binutils m68k-uclinux-elf2flt m68k-uclinux-gcc
sudo update-alternatives --install /usr/bin/elf2flt elf2flt /usr/bin/m68k-uclinux-elf2flt 100
fi
language: c
script:
- FUZIX_CCOPTS=-O0 make TARGET=$TARGET -j2