initial ci commit

This commit is contained in:
Abraham Gonzalez
2019-05-11 17:16:32 -07:00
parent d0128d8f24
commit e5d9f539c5
5 changed files with 224 additions and 0 deletions

22
.circleci/build-toolchains.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# create the riscv tools binaries from riscv-boom/boom-template with rocket-chip hash given by riscv-boom
# turn echo on and error on earliest command
set -ex
if [ ! -d "$HOME/esp-tools-install" ]; then
cd $HOME/
# init all submodules including the tools
./project/scripts/build-toolchains.sh esp-tools
fi
if [ ! -d "$HOME/riscv-tools-install" ]; then
cd $HOME/
# init all submodules including the tools
./project/scripts/build-toolchains.sh riscv-tools
fi