[ci] Use FireSim's setup script for CI
This commit is contained in:
@@ -12,10 +12,19 @@ export FIRESIM_ENV_SOURCED=1
|
||||
|
||||
SIMULATION_ARGS="${mapping[$1]}"
|
||||
|
||||
cd $LOCAL_CHIPYARD_DIR/sims/firesim
|
||||
./scripts/build-libelf.sh
|
||||
./scripts/build-libdwarf.sh
|
||||
cd $LOCAL_CHIPYARD_DIR
|
||||
|
||||
|
||||
run_test_suite () {
|
||||
export RISCV=$LOCAL_RISCV_DIR
|
||||
export LD_LIBRARY_PATH=$LOCAL_RISCV_DIR/lib
|
||||
make -C $LOCAL_FIRESIM_DIR $SIMULATION_ARGS run-${1}-tests-fast
|
||||
}
|
||||
|
||||
|
||||
run_test_suite bmark
|
||||
run_test_suite nic
|
||||
run_test_suite blockdev
|
||||
|
||||
Reference in New Issue
Block a user