Update CI with new config names
This commit is contained in:
@@ -117,35 +117,6 @@ jobs:
|
|||||||
key: example-{{ .Branch }}-{{ .Revision }}
|
key: example-{{ .Branch }}-{{ .Revision }}
|
||||||
paths:
|
paths:
|
||||||
- "/home/riscvuser/project"
|
- "/home/riscvuser/project"
|
||||||
prepare-boomexample:
|
|
||||||
docker:
|
|
||||||
- image: riscvboom/riscvboom-images:0.0.10
|
|
||||||
environment:
|
|
||||||
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
|
|
||||||
TERM: dumb
|
|
||||||
steps:
|
|
||||||
- add_ssh_keys:
|
|
||||||
fingerprints:
|
|
||||||
- "3e:c3:02:5b:ed:64:8c:b7:b0:04:43:bc:83:43:73:1e"
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: Create hash of toolchains
|
|
||||||
command: |
|
|
||||||
.circleci/create-hash.sh
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- riscv-tools-installed-v1-{{ checksum "../riscv-tools.hash" }}
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- verilator-installed-v3-{{ checksum "sims/verilator/verilator.mk" }}
|
|
||||||
- run:
|
|
||||||
name: Building the boomexample subproject using Verilator
|
|
||||||
command: .circleci/do-rtl-build.sh boomexample
|
|
||||||
no_output_timeout: 120m
|
|
||||||
- save_cache:
|
|
||||||
key: boomexample-{{ .Branch }}-{{ .Revision }}
|
|
||||||
paths:
|
|
||||||
- "/home/riscvuser/project"
|
|
||||||
prepare-boomrocketexample:
|
prepare-boomrocketexample:
|
||||||
docker:
|
docker:
|
||||||
- image: riscvboom/riscvboom-images:0.0.10
|
- image: riscvboom/riscvboom-images:0.0.10
|
||||||
@@ -315,30 +286,6 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Run example tests
|
name: Run example tests
|
||||||
command: .circleci/run-tests.sh example
|
command: .circleci/run-tests.sh example
|
||||||
boomexample-run-tests:
|
|
||||||
docker:
|
|
||||||
- image: riscvboom/riscvboom-images:0.0.10
|
|
||||||
environment:
|
|
||||||
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
|
|
||||||
TERM: dumb
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: Create hash of toolchains
|
|
||||||
command: |
|
|
||||||
.circleci/create-hash.sh
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- riscv-tools-installed-v1-{{ checksum "../riscv-tools.hash" }}
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- boomexample-{{ .Branch }}-{{ .Revision }}
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- verilator-installed-v3-{{ checksum "sims/verilator/verilator.mk" }}
|
|
||||||
- run:
|
|
||||||
name: Run boomexample tests
|
|
||||||
command: .circleci/run-tests.sh boomexample
|
|
||||||
boomrocketexample-run-tests:
|
boomrocketexample-run-tests:
|
||||||
docker:
|
docker:
|
||||||
- image: riscvboom/riscvboom-images:0.0.10
|
- image: riscvboom/riscvboom-images:0.0.10
|
||||||
@@ -468,11 +415,6 @@ workflows:
|
|||||||
- install-riscv-toolchain
|
- install-riscv-toolchain
|
||||||
- install-verilator
|
- install-verilator
|
||||||
|
|
||||||
- prepare-boomexample:
|
|
||||||
requires:
|
|
||||||
- install-riscv-toolchain
|
|
||||||
- install-verilator
|
|
||||||
|
|
||||||
- prepare-boomrocketexample:
|
- prepare-boomrocketexample:
|
||||||
requires:
|
requires:
|
||||||
- install-riscv-toolchain
|
- install-riscv-toolchain
|
||||||
@@ -505,10 +447,6 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- prepare-example
|
- prepare-example
|
||||||
|
|
||||||
- boomexample-run-tests:
|
|
||||||
requires:
|
|
||||||
- prepare-boomexample
|
|
||||||
|
|
||||||
- boomrocketexample-run-tests:
|
- boomrocketexample-run-tests:
|
||||||
requires:
|
requires:
|
||||||
- prepare-boomrocketexample
|
- prepare-boomrocketexample
|
||||||
|
|||||||
@@ -36,9 +36,8 @@ LOCAL_SIM_DIR=$LOCAL_CHIPYARD_DIR/sims/verilator
|
|||||||
# key value store to get the build strings
|
# key value store to get the build strings
|
||||||
declare -A mapping
|
declare -A mapping
|
||||||
mapping["example"]="SUB_PROJECT=example"
|
mapping["example"]="SUB_PROJECT=example"
|
||||||
mapping["boomexample"]="SUB_PROJECT=example CONFIG=DefaultBoomConfig"
|
mapping["boomrocketexample"]="SUB_PROJECT=example CONFIG=LargeBoomAndRocketConfig"
|
||||||
mapping["boomrocketexample"]="SUB_PROJECT=example CONFIG=DefaultBoomAndRocketConfig"
|
|
||||||
mapping["boom"]="SUB_PROJECT=example CONFIG=SmallBoomConfig"
|
mapping["boom"]="SUB_PROJECT=example CONFIG=SmallBoomConfig"
|
||||||
mapping["rocketchip"]="SUB_PROJECT=rocketchip"
|
mapping["rocketchip"]="SUB_PROJECT=rocketchip"
|
||||||
mapping["blockdevrocketchip"]="SUB_PROJECT=example CONFIG=SimBlockDeviceRocketConfig TOP=BoomRocketTopWithBlockDevice"
|
mapping["blockdevrocketchip"]="SUB_PROJECT=example CONFIG=SimBlockDeviceRocketConfig TOP=TopWithBlockDevice"
|
||||||
mapping["hwacha"]="SUB_PROJECT=example CONFIG=HwachaL2Config GENERATOR_PACKAGE=hwacha"
|
mapping["hwacha"]="SUB_PROJECT=example CONFIG=HwachaRocketConfig GENERATOR_PACKAGE=hwacha"
|
||||||
|
|||||||
Reference in New Issue
Block a user