From 3fcfbf363e7e04c759f0523d8c4a43427ccdf4a9 Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Mon, 27 Jul 2020 11:49:00 -0400 Subject: Add Treadle publishLocal to CI for Chisel3 Tests (#1793) Add a Treadle build to the portion of CI that runs Chisel3 tests. Chisel3 needs to have a master copy of Treadle in order for it to work and cannot rely on resolution from Maven. Signed-off-by: Schuyler Eldridge --- .run_chisel_tests.sh | 2 ++ .travis.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.run_chisel_tests.sh b/.run_chisel_tests.sh index c52bfee1..9d965558 100644 --- a/.run_chisel_tests.sh +++ b/.run_chisel_tests.sh @@ -5,6 +5,8 @@ set -e if git log --format=%B --no-merges ${TRAVIS_COMMIT_RANGE/.../..} | grep '\[skip chisel tests\]'; then exit 0 else + git clone https://github.com/freechipsproject/treadle.git --depth 10 + (cd treadle && sbt $SBT_ARGS +publishLocal) git clone https://github.com/ucb-bar/chisel3.git mkdir -p chisel3/lib cp utils/bin/firrtl.jar chisel3/lib diff --git a/.travis.yml b/.travis.yml index 2837dbba..bb250718 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,6 +78,7 @@ jobs: use: firrtl_build script: - verilator --version + - sbt $SBT_ARGS +publishLocal - bash .run_chisel_tests.sh - stage: test name: "Formal equivalence: RocketCore" -- cgit v1.2.3