aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Magyar2020-09-10 10:24:17 -0700
committerAlbert Magyar2020-09-10 10:24:17 -0700
commite87f3f6372d700641dd3ce9bfa902f33d890d879 (patch)
treeda35ad1da9425a200fc6ef58d2d4814263d769f8
parenta70f0ceb443da270aad31f5ed478e95df7962849 (diff)
Specify appropriate Chisel and Treadle branches for CI tests
-rw-r--r--.run_chisel_tests.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/.run_chisel_tests.sh b/.run_chisel_tests.sh
index 9d965558..6c10e9b6 100644
--- a/.run_chisel_tests.sh
+++ b/.run_chisel_tests.sh
@@ -1,13 +1,18 @@
set -e
+# Use appropriate branches.
+# Each stable branch of FIRRTL should have a fixed value for these branches.
+CHISEL_BRANCH="master"
+TREADLE_BRANCH="master"
+
# Skip chisel tests if the commit message says to
# Replace ... with .. in TRAVIS_COMMIT_RANGE, see https://github.com/travis-ci/travis-ci/issues/4596
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
+ git clone https://github.com/freechipsproject/treadle.git --single-branch -b ${TREADLE_BRANCH} --depth 10
(cd treadle && sbt $SBT_ARGS +publishLocal)
- git clone https://github.com/ucb-bar/chisel3.git
+ git clone https://github.com/ucb-bar/chisel3.git --single-branch -b ${CHISEL_BRANCH}
mkdir -p chisel3/lib
cp utils/bin/firrtl.jar chisel3/lib
cd chisel3