File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function test() {
43
43
else
44
44
repeat_fail=${CTEST_REPEAT_FAIL}
45
45
fi
46
- 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}
46
+ 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
47
47
popd
48
48
grep -E " ^(\s*[0-9]+|Total)" build/$1 /$1 .txt > build/$1 .txt
49
49
sed -i " s/\x1B\[[0-9;]*[JKmsu]//g" build/$1 .txt
Original file line number Diff line number Diff line change 2
2
#
3
3
# Install necessary softwares for Ubuntu.
4
4
5
- apt-get update
6
- apt-get install -y \
5
+ # Remove large folder to save space
6
+ rm -rf /opt/hostedtoolcache
7
+
8
+ sudo apt-get update
9
+ sudo apt-get install -y \
7
10
gcc-multilib \
8
11
git \
9
12
g++ \
@@ -19,3 +22,5 @@ apt-get install -y \
19
22
python3 -m pip install --upgrade pip
20
23
pip3 install gcovr==4.1
21
24
25
+ # Upgrade cmake to the latest version.
26
+ pip install --upgrade cmake
You can’t perform that action at this time.
0 commit comments