forked from litex-hub/linux-on-litex-vexriscv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
75 lines (69 loc) · 2.13 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
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
language: python
dist: bionic
python: "3.6"
before_install:
- sudo apt-get update
- sudo apt-get -y install verilator libevent-dev libjson-c-dev device-tree-compiler
- pip install pexpect
install:
# Get Migen / LiteX / Cores
- cd ~/
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
- python3 litex_setup.py init install
- cd $TRAVIS_BUILD_DIR
- if [[ -v SDRAM_MODULE ]]; then git clone --depth 1 https://github.com/litex-hub/linux-on-litex-vexriscv-prebuilt.git; fi
- if [[ -v SDRAM_MODULE ]]; then cp -R linux-on-litex-vexriscv-prebuilt/buildroot ./; fi
before_script:
# Get RISC-V toolchain
- wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6.tar.gz
- tar -xvf riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6.tar.gz
- export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6/bin/
script:
- if [[ -v BOARD ]]; then ./make.py --board="$BOARD"; fi
- if [[ -v SDRAM_MODULE ]]; then ./.sim-test.py --sdram-module="$SDRAM_MODULE"; fi
env:
# ----- BOARDS -----
- BOARD=Arty
- BOARD=NeTV2
- BOARD=Genesys2
- BOARD=KC705
- BOARD=KCU105
- BOARD=Nexys4DDR
- BOARD="Nexys Video"
- BOARD=miniSpartan6
- BOARD=Pipistrello
- BOARD="Versa ECP5"
- BOARD=ULX3S
- BOARD=OrangeCrab
- BOARD="CamLink 4K"
- BOARD=De0Nano
- BOARD=De10Lite
# ----- SIMULATIONS -----
- SDRAM_MODULE=IS42S16160
- SDRAM_MODULE=IS42S16320
- SDRAM_MODULE=MT48LC16M16
- SDRAM_MODULE=AS4C16M16
- SDRAM_MODULE=AS4C32M16
- SDRAM_MODULE=AS4C32M8
- SDRAM_MODULE=MT46V32M16
- SDRAM_MODULE=MT46H32M16
- SDRAM_MODULE=MT46H32M32
- SDRAM_MODULE=MT47H128M8
- SDRAM_MODULE=MT47H32M16
- SDRAM_MODULE=MT47H64M16
- SDRAM_MODULE=P3R1GE4JGF
- SDRAM_MODULE=MT41K64M16
- SDRAM_MODULE=MT41J128M16
- SDRAM_MODULE=MT41J256M16
- SDRAM_MODULE=K4B1G0446F
- SDRAM_MODULE=K4B2G1646F
- SDRAM_MODULE=H5TC4G63CFR
- SDRAM_MODULE=IS43TR16128B
- SDRAM_MODULE=MT8JTF12864
- SDRAM_MODULE=MT8KTF51264
- SDRAM_MODULE=MT18KSF1G72HZ
- SDRAM_MODULE=AS4C256M16D3A
- SDRAM_MODULE=MT16KTF1G64HZ
- SDRAM_MODULE=EDY4016A
- SDRAM_MODULE=MT40A1G8
- SDRAM_MODULE=MT40A512M16