diff options
| author | Schuyler Eldridge | 2020-07-27 11:49:00 -0400 |
|---|---|---|
| committer | GitHub | 2020-07-27 08:49:00 -0700 |
| commit | 3fcfbf363e7e04c759f0523d8c4a43427ccdf4a9 (patch) | |
| tree | 1c7b8156af2a84548741c1f881481707ae8599fe | |
| parent | d4e1a466568644cef587bb6eea3c102ba879e7b8 (diff) | |
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 <schuyler.eldridge@ibm.com>
| -rw-r--r-- | .run_chisel_tests.sh | 2 | ||||
| -rw-r--r-- | .travis.yml | 1 |
2 files changed, 3 insertions, 0 deletions
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" |
