Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/cmake_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function test() {
else
repeat_fail=${CTEST_REPEAT_FAIL}
fi
ctest $parallel --timeout 1000 -O $1.txt -T test --no-compress-output --test-output-size-passed 4194304 --test-output-size-failed 4194304 --output-on-failure --repeat until-pass:${repeat_fail}
ctest $parallel --timeout 1000 -O $1.txt -T test --no-compress-output --test-output-size-passed 4194304 --test-output-size-failed 4194304 --output-on-failure --repeat until-pass:${repeat_fail} --output-junit $1.xml
popd
grep -E "^(\s*[0-9]+|Total)" build/$1/$1.txt >build/$1.txt
sed -i "s/\x1B\[[0-9;]*[JKmsu]//g" build/$1.txt
Expand Down
9 changes: 7 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
#
# Install necessary softwares for Ubuntu.

apt-get update
apt-get install -y \
# Remove large folder to save space
rm -rf /opt/hostedtoolcache
Comment thread
ting-fx marked this conversation as resolved.

sudo apt-get update
sudo apt-get install -y \
gcc-multilib \
git \
g++ \
Expand All @@ -19,3 +22,5 @@ apt-get install -y \
python3 -m pip install --upgrade pip
pip3 install gcovr==4.1

# Upgrade cmake to the latest version.
pip install --upgrade cmake
Comment thread
TiejunZhou-CN marked this conversation as resolved.