From 5c3a7c136b21aed9bf1b591de861b08b6b0c35fb Mon Sep 17 00:00:00 2001 From: abejgonzalez Date: Sun, 31 May 2020 23:20:38 -0700 Subject: [PATCH] [ci] remove midas-examples ci --- .circleci/config.yml | 13 -------- .circleci/run-midasexamples-tests.sh | 50 ---------------------------- CHANGELOG.md | 2 +- 3 files changed, 1 insertion(+), 64 deletions(-) delete mode 100755 .circleci/run-midasexamples-tests.sh diff --git a/.circleci/config.yml b/.circleci/config.yml index ab7006e1..ab123661 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -379,14 +379,6 @@ jobs: project-key: "firesim-multiclock" run-script: "run-firesim-scala-tests.sh" timeout: "20m" - midasexamples-run-tests: - executor: main-env - steps: - - setup-tools - - run: - name: Run midasexamples tests - command: .circleci/run-midasexamples-tests.sh - no_output_timeout: 20m chipyard-ariane-run-tests: executor: main-env steps: @@ -541,11 +533,6 @@ workflows: # Run the respective tests - # Run midasexamples test - - midasexamples-run-tests: - requires: - - install-riscv-toolchain - # Run the example tests - chipyard-rocket-run-tests: requires: diff --git a/.circleci/run-midasexamples-tests.sh b/.circleci/run-midasexamples-tests.sh deleted file mode 100755 index fecfcab2..00000000 --- a/.circleci/run-midasexamples-tests.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash - -# turn echo on and error on earliest command -set -ex - -# get shared variables -SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" -source $SCRIPT_DIR/defaults.sh - -# call clean on exit -trap clean EXIT - -cd $LOCAL_CHIPYARD_DIR -./scripts/init-submodules-no-riscv-tools.sh - -# build libdromajo_cosim -make -C $LOCAL_CHIPYARD_DIR/tools/dromajo/dromajo-src/src - -cd sims/firesim/sim/midas - -# set stricthostkeychecking to no (must happen before rsync) -run "echo \"Ping $SERVER\"" - -clean - -# copy over riscv-tools, and chipyard to remote -run "mkdir -p $REMOTE_CHIPYARD_DIR" -run "mkdir -p $REMOTE_RISCV_DIR" - -copy $LOCAL_CHIPYARD_DIR/ $SERVER:$REMOTE_CHIPYARD_DIR -copy $LOCAL_RISCV_DIR/ $SERVER:$REMOTE_RISCV_DIR - -# Copy ivy2 and sbt directories - -run "cp -r ~/.ivy2 $REMOTE_WORK_DIR" -run "cp -r ~/.sbt $REMOTE_WORK_DIR" - -TOOLS_DIR=$REMOTE_RISCV_DIR -LD_LIB_DIR=$REMOTE_RISCV_DIR/lib - -# Run midasexamples test - -run "export FIRESIM_ENV_SOURCED=1; make -C $REMOTE_FIRESIM_DIR clean" -run "export RISCV=\"$TOOLS_DIR\"; \ - export LD_LIBRARY_PATH=\"$LD_LIB_DIR\"; \ - export FIRESIM_ENV_SOURCED=1; \ - export PATH=\"$REMOTE_VERILATOR_DIR/bin:\$PATH\"; \ - export VERILATOR_ROOT=\"$REMOTE_VERILATOR_DIR\"; \ - export COURSIER_CACHE=\"$REMOTE_WORK_DIR/.coursier-cache\"; \ - make -C $REMOTE_FIRESIM_DIR JAVA_ARGS=\"$REMOTE_JAVA_ARGS\" TARGET_PROJECT=midasexamples test" diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ea7e6e..7d06eda8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,7 +58,7 @@ A more detailed account of everything included is included in the dev to master * N/A ### Removed -* N/A +* Removed MIDAS examples CI (until a better solution that is faster is found) (#589) ## [1.2.0] - 2020-03-14