1
0

[travis] add multiple configs including rocc

This commit is contained in:
Colin Schmidt 2015-11-28 07:17:49 -08:00
parent 7259239ba4
commit ec4ade988b

View File

@ -27,6 +27,9 @@ env:
global: global:
- RISCV="/home/travis/riscv_install" - RISCV="/home/travis/riscv_install"
- PATH=$PATH:$RISCV/bin - PATH=$PATH:$RISCV/bin
matrix:
- VCONFIG=DefaultVLSIConfig FCONFIG=DefaultFPGAConfig ECONFIG=DefaultCPPConfig
- VCONFIG=RoccExampleConfig FCONFIG=RoccExampleConfig ECONFIG=RoccExampleConfig
# blacklist private branches # blacklist private branches
branches: branches:
@ -54,9 +57,9 @@ before_install:
script: script:
# test verilog # test verilog
- cd vsim - cd vsim
- make verilog - make CONFIG=$VCONFIG verilog
- cd ../fsim - cd ../fsim
- make verilog - make CONFIG=$FCONFIG verilog
# build riscv-fesvr # build riscv-fesvr
- cd ../riscv-tools/riscv-fesvr - cd ../riscv-tools/riscv-fesvr
- mkdir build - mkdir build
@ -65,12 +68,12 @@ script:
- make install - make install
# build emulator # build emulator
- cd ../../../emulator - cd ../../../emulator
- make -j 8 - make -j 8 CONFIG=$ECONFIG
# build riscv-gcc # build riscv-gcc
- cd ../riscv-tools/riscv-gnu-toolchain - cd ../riscv-tools/riscv-gnu-toolchain
- ./configure --prefix=$RISCV - ./configure --prefix=$RISCV
- make -j 8 > build.gcc.out - make -j 8 > build.gcc.out
# run riscv-tests # run riscv-tests
- cd ../../emulator - cd ../../emulator
- make -j 8 run-asm-tests - make -j 8 CONFIG=$ECONFIG run-asm-tests
- make run-bmark-tests - make CONFIG=$ECONFIG run-bmark-tests