mirror of
https://github.com/lowRISC/ibex.git
synced 2025-06-27 17:00:41 -04:00
[ci] remove Azure Pipelines magic commands
Signed-off-by: Gary Guo <gary.guo@lowrisc.org>
This commit is contained in:
parent
60fbb6ba2f
commit
fa40368300
2 changed files with 0 additions and 7 deletions
|
@ -60,14 +60,12 @@ case "$ID-$VERSION_ID" in
|
|||
$SUDO_CMD mkdir -p /tools/riscv-isa-sim
|
||||
$SUDO_CMD chmod 777 /tools/riscv-isa-sim
|
||||
$SUDO_CMD tar -C /tools/riscv-isa-sim -xvzf ibex-cosim-"$IBEX_COSIM_VERSION".tar.gz --strip-components=1
|
||||
echo "##vso[task.prependpath]/tools/riscv-isa-sim/bin"
|
||||
echo "/tools/riscv-isa-sim/bin" >> $GITHUB_PATH
|
||||
|
||||
wget https://storage.googleapis.com/verilator-builds/verilator-"$VERILATOR_VERSION".tar.gz
|
||||
$SUDO_CMD mkdir -p /tools/verilator
|
||||
$SUDO_CMD chmod 777 /tools/verilator
|
||||
$SUDO_CMD tar -C /tools/verilator -xvzf verilator-"$VERILATOR_VERSION".tar.gz
|
||||
echo "##vso[task.prependpath]/tools/verilator/$VERILATOR_VERSION/bin"
|
||||
echo "/tools/verilator/$VERILATOR_VERSION/bin" >> $GITHUB_PATH
|
||||
# Python dependencies
|
||||
#
|
||||
|
@ -86,7 +84,6 @@ case "$ID-$VERSION_ID" in
|
|||
curl -Ls -o verible.tar.gz "https://github.com/google/verible/releases/download/$VERIBLE_VERSION/verible-$VERIBLE_VERSION-Ubuntu-$VERSION_ID-$VERSION_CODENAME-x86_64.tar.gz"
|
||||
$SUDO_CMD mkdir -p /tools/verible && $SUDO_CMD chmod 777 /tools/verible
|
||||
$SUDO_CMD tar -C /tools/verible -xf verible.tar.gz --strip-components=1
|
||||
echo "##vso[task.prependpath]/tools/verible/bin"
|
||||
echo "/tools/verible/bin" >> $GITHUB_PATH
|
||||
;;
|
||||
|
||||
|
@ -102,5 +99,4 @@ mkdir -p build/toolchain
|
|||
curl -Ls -o build/toolchain/rv32-toolchain.tar.xz "$TOOLCHAIN_URL"
|
||||
$SUDO_CMD mkdir -p /tools/riscv && $SUDO_CMD chmod 777 /tools/riscv
|
||||
$SUDO_CMD tar -C /tools/riscv -xf build/toolchain/rv32-toolchain.tar.xz --strip-components=1
|
||||
echo "##vso[task.prependpath]/tools/riscv/bin"
|
||||
echo "/tools/riscv/bin" >> $GITHUB_PATH
|
||||
|
|
|
@ -26,14 +26,12 @@ fi
|
|||
echo "Running $TEST_NAME with co-simulation"
|
||||
build/lowrisc_ibex_ibex_simple_system_cosim_0/sim-verilator/Vibex_simple_system --meminit=ram,$TEST_ELF
|
||||
if [ $? != 0 ]; then
|
||||
echo "##vso[task.logissue type=error]Running % failed co-simulation testing"
|
||||
echo "::error::Running % failed co-simulation testing"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
grep 'FAILURE' ibex_simple_system.log
|
||||
if [ $? != 1 ]; then
|
||||
echo "##vso[task.logissue type=error]Failure seen in $TEST_NAME log"
|
||||
echo "::error::Failure seen in $TEST_NAME log"
|
||||
echo "Log contents:"
|
||||
cat ibex_simple_system.log
|
||||
|
@ -43,7 +41,6 @@ fi
|
|||
if [ $SKIP_PASS_CHECK != 1 ]; then
|
||||
grep 'PASS' ibex_simple_system.log
|
||||
if [ $? != 0 ]; then
|
||||
echo "##vso[task.logissue type=error]No pass seen in $TEST_NAME log"
|
||||
echo "::error::No pass seen in $TEST_NAME log"
|
||||
echo "Log contents:"
|
||||
cat ibex_simple_system.log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue