Skip to content

Commit

Permalink
Remove vestiges of Travis CI. (#2647)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardxia authored Mar 17, 2022
1 parent f544995 commit 649ac93
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 434 deletions.
110 changes: 0 additions & 110 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Please ensure to fill out the PR template appropriately and update it if your PR

Currently, the requirements for merging a PR are:
+ At least one approved review from an administrator
+ Passing at least one of the GitHub actions checks or the Travis checks
+ Passing the GitHub actions checks

### <a name="bumping"></a> Bumping Submodules

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Rocket Chip Generator :rocket: [![Build Status](https://travis-ci.org/chipsalliance/rocket-chip.svg?branch=master)](https://travis-ci.org/chipsalliance/rocket-chip)
Rocket Chip Generator :rocket: ![Build Status](https://github.com/chipsalliance/rocket-chip/workflows/Continuous%20Integration/badge.svg?branch=master)
=====================

This repository contains the Rocket chip generator necessary to instantiate
Expand Down
32 changes: 0 additions & 32 deletions README_TRAVIS.md

This file was deleted.

2 changes: 1 addition & 1 deletion regression/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ stamps/rocket-tools_checkout.stamp: | stamps/riscv-tests.stamp
# This means that the rule will be executed, but it will /not/ be
# evaluated as a depenency for install.stamp. This is needed because
# the timestamp on install.stamp will be older than the checkout stamp
# anytime we restore the installation area from cache in travisci.
# anytime we restore the installation area from cache in CI.
$(RISCV)/install.stamp: | stamps/rocket-tools_checkout.stamp
mkdir -p $(dir $@)
+cd $(RISCV_TOOLS); RISCV=$(abspath $(RISCV)) ./build.sh
Expand Down
59 changes: 19 additions & 40 deletions regression/run-test-bucket
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,6 @@ fi
regression_dir=$(cd "$(dirname "$0")" ; pwd -P)
rocketchip_dir=$(dirname "${regression_dir}")

if [[ ${TRAVIS:-false} == true ]]; then
# If running on Travis CI, make sure that travis_wait is defined.
. "${regression_dir}/travis_whereami.bash"
. "${regression_dir}/travis_setup_env.bash"
. "${regression_dir}/travis_jigger.bash"
. "${regression_dir}/travis_wait.bash"
set +u
travis_setup_env
set -u
else
# If not running on Travis CI, Stub out the travis_wait to be a no-op, since
# it's unnecessary and it has some undesirable side effects such as hiding
# console output until the command finishes.
travis_wait() {
# Throw out first argument, which is the wait time in minutes.
shift
# Run the remaining arguments as a normal command.
"$@"
}
fi

# Always run from the root rocket-chip directory.
cd "${rocketchip_dir}"

Expand All @@ -52,44 +31,44 @@ set -x
case "${bucket_number}" in
1)
# Temporarily disable this bucket, which is hitting OOM on Actions
#travis_wait 100 make emulator-ndebug -C regression SUITE=UnittestSuite JVM_MEMORY=3G VERILATOR_THREADS=1
#travis_wait 100 make emulator-regression-tests -C regression SUITE=UnittestSuite JVM_MEMORY=3G VERILATOR_THREADS=1
#make emulator-ndebug -C regression SUITE=UnittestSuite JVM_MEMORY=3G VERILATOR_THREADS=1
#make emulator-regression-tests -C regression SUITE=UnittestSuite JVM_MEMORY=3G VERILATOR_THREADS=1
;;

2)
travis_wait 80 make emulator-ndebug -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=DebugTest JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=DebugTest JVM_MEMORY=3G
make emulator-ndebug -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=DebugTest JVM_MEMORY=3G
make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=DebugTest JVM_MEMORY=3G
;;

3)
travis_wait 80 make emulator-ndebug -C regression SUITE=JtagDtmSuite JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest64 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest64 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest32 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest32 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest8 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
make emulator-ndebug -C regression SUITE=JtagDtmSuite JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest64 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest64 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest32 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest32 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JTAG_DTM_TEST=MemTest8 JTAG_DTM_ENABLE_SBA=on JVM_MEMORY=3G
;;

4)
travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
travis_wait 80 make emulator-regression-tests -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
make emulator-ndebug -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
make emulator-regression-tests -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
;;

5)
travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
travis_wait 80 make emulator-regression-tests -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
make emulator-ndebug -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
make emulator-regression-tests -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
;;

6)
travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
make emulator-ndebug -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
make emulator-regression-tests -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
;;

7)
travis_wait 100 make emulator-ndebug -C regression SUITE=Miscellaneous JVM_MEMORY=3G
make emulator-ndebug -C regression SUITE=Miscellaneous JVM_MEMORY=3G
;;
8)
make scalatest -C regression SUITE=foo JVM_MEMORY=8G
Expand Down
42 changes: 0 additions & 42 deletions regression/travis_jigger.bash

This file was deleted.

Loading

0 comments on commit 649ac93

Please sign in to comment.