From ec4ade988bdbf2a9b58f477943a867032306c73b Mon Sep 17 00:00:00 2001 From: Colin Schmidt Date: Sat, 28 Nov 2015 07:17:49 -0800 Subject: [PATCH] [travis] add multiple configs including rocc --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 00515435..4a33f357 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,9 @@ env: global: - RISCV="/home/travis/riscv_install" - PATH=$PATH:$RISCV/bin + matrix: + - VCONFIG=DefaultVLSIConfig FCONFIG=DefaultFPGAConfig ECONFIG=DefaultCPPConfig + - VCONFIG=RoccExampleConfig FCONFIG=RoccExampleConfig ECONFIG=RoccExampleConfig # blacklist private branches branches: @@ -54,9 +57,9 @@ before_install: script: # test verilog - cd vsim - - make verilog + - make CONFIG=$VCONFIG verilog - cd ../fsim - - make verilog + - make CONFIG=$FCONFIG verilog # build riscv-fesvr - cd ../riscv-tools/riscv-fesvr - mkdir build @@ -65,12 +68,12 @@ script: - make install # build emulator - cd ../../../emulator - - make -j 8 + - make -j 8 CONFIG=$ECONFIG # build riscv-gcc - cd ../riscv-tools/riscv-gnu-toolchain - ./configure --prefix=$RISCV - make -j 8 > build.gcc.out # run riscv-tests - cd ../../emulator - - make -j 8 run-asm-tests - - make run-bmark-tests + - make -j 8 CONFIG=$ECONFIG run-asm-tests + - make CONFIG=$ECONFIG run-bmark-tests