Clearer script naming | Renable all CI
This commit is contained in:
2
.github/actions/prepare-rtl/action.yml
vendored
2
.github/actions/prepare-rtl/action.yml
vendored
@@ -12,7 +12,7 @@ inputs:
|
|||||||
build-script:
|
build-script:
|
||||||
description: rtl build script to use
|
description: rtl build script to use
|
||||||
required: false
|
required: false
|
||||||
default: "do-rtl-build.sh"
|
default: "remote-do-rtl-build.sh"
|
||||||
build-type:
|
build-type:
|
||||||
description: type of build
|
description: type of build
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
4
.github/scripts/create-hash.sh
vendored
4
.github/scripts/create-hash.sh
vendored
@@ -15,6 +15,6 @@ for tools in 'riscv-tools' 'esp-tools' ; do
|
|||||||
git submodule status "toolchains/${tools}" 'toolchains/libgloss' 'toolchains/qemu' |
|
git submodule status "toolchains/${tools}" 'toolchains/libgloss' 'toolchains/qemu' |
|
||||||
while read -r line ; do
|
while read -r line ; do
|
||||||
echo "${line#[!0-9a-f]}"
|
echo "${line#[!0-9a-f]}"
|
||||||
done > "$GITHUB_WORKSPACE/${tools}.hash"
|
done > "${tools}.hash"
|
||||||
done
|
done
|
||||||
echo "Hashfile for riscv-tools and esp-tools created in $HOME"
|
echo "Hashfile for riscv-tools and esp-tools created in $PWD"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# move verilator to the remote server
|
# install verilator
|
||||||
|
|
||||||
# turn echo on and error on earliest command
|
# turn echo on and error on earliest command
|
||||||
set -ex
|
set -ex
|
||||||
@@ -10,7 +10,6 @@ SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|||||||
source $SCRIPT_DIR/defaults.sh
|
source $SCRIPT_DIR/defaults.sh
|
||||||
|
|
||||||
# clean older directories (delete prior directories related to this branch also)
|
# clean older directories (delete prior directories related to this branch also)
|
||||||
|
|
||||||
$SCRIPT_DIR/clean-old-files.sh $CI_DIR
|
$SCRIPT_DIR/clean-old-files.sh $CI_DIR
|
||||||
rm -rf $REMOTE_PREFIX*
|
rm -rf $REMOTE_PREFIX*
|
||||||
|
|
||||||
@@ -10,33 +10,28 @@ set -ex
|
|||||||
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||||
source $SCRIPT_DIR/defaults.sh
|
source $SCRIPT_DIR/defaults.sh
|
||||||
|
|
||||||
# call clean on exit
|
|
||||||
trap clean EXIT
|
|
||||||
|
|
||||||
export RISCV="$REMOTE_RISCV_DIR"
|
export RISCV="$REMOTE_RISCV_DIR"
|
||||||
export LD_LIBRARY_PATH="$RISCV/lib"
|
export LD_LIBRARY_PATH="$RISCV/lib"
|
||||||
export PATH="$RISCV/bin:$PATH"
|
export PATH="$RISCV/bin:$PATH"
|
||||||
|
|
||||||
# Directory locations for handling firesim-local installations of libelf/libdwarf
|
# Directory locations for handling firesim-local installations of libelf/libdwarf
|
||||||
# This would generally be handled by build-setup.sh/firesim-setup.sh
|
# This would generally be handled by build-setup.sh/firesim-setup.sh
|
||||||
firesim_sysroot=lib-install
|
REMOTE_FIRESIM_SYSROOT=$REMOTE_FIRESIM_DIR/lib-install
|
||||||
remote_firesim_sysroot=$REMOTE_FIRESIM_DIR/$firesim_sysroot
|
|
||||||
|
|
||||||
cd $REMOTE_CHIPYARD_DIR
|
|
||||||
./scripts/init-submodules-no-riscv-tools.sh
|
./scripts/init-submodules-no-riscv-tools.sh
|
||||||
cd $REMOTE_CHIPYARD_DIR/sims/firesim/sim/firesim-lib/src/main/cc/lib
|
cd $REMOTE_CHIPYARD_DIR/sims/firesim/sim/firesim-lib/src/main/cc/lib
|
||||||
git submodule update --init elfutils libdwarf
|
git submodule update --init elfutils libdwarf
|
||||||
cd $REMOTE_CHIPYARD_DIR/sims/firesim
|
cd $REMOTE_CHIPYARD_DIR/sims/firesim
|
||||||
mkdir -p $remote_firesim_sysroot
|
mkdir -p $REMOTE_FIRESIM_SYSROOT
|
||||||
./scripts/build-libelf.sh $remote_firesim_sysroot
|
./scripts/build-libelf.sh $REMOTE_FIRESIM_SYSROOT
|
||||||
./scripts/build-libdwarf.sh $remote_firesim_sysroot
|
./scripts/build-libdwarf.sh $REMOTE_FIRESIM_SYSROOT
|
||||||
cd $REMOTE_CHIPYARD_DIR
|
cd $REMOTE_CHIPYARD_DIR
|
||||||
|
|
||||||
make -C $REMOTE_CHIPYARD_DIR/tools/dromajo/dromajo-src/src
|
make -C $REMOTE_CHIPYARD_DIR/tools/dromajo/dromajo-src/src
|
||||||
|
|
||||||
TOOLS_DIR=$REMOTE_RISCV_DIR
|
TOOLS_DIR=$REMOTE_RISCV_DIR
|
||||||
|
|
||||||
LD_LIB_DIR=$remote_firesim_sysroot/lib:$REMOTE_RISCV_DIR/lib
|
LD_LIB_DIR=$REMOTE_FIRESIM_SYSROOT/lib:$REMOTE_RISCV_DIR/lib
|
||||||
|
|
||||||
# Run Firesim Scala Tests
|
# Run Firesim Scala Tests
|
||||||
export RISCV=$TOOLS_DIR
|
export RISCV=$TOOLS_DIR
|
||||||
1487
.github/workflows/chipyard-run-tests.yml
vendored
1487
.github/workflows/chipyard-run-tests.yml
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user