File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 66[ " $1 " != " " ] && PREFIX=" $1 " || PREFIX=" exports-coverage"
77[ " $2 " != " " ] && OUTPUT_NAME=" $2 " || OUTPUT_NAME=" total_coverage"
88
9+ set -x
10+
11+ GROUP=$( groups | cut -d' ' -f1)
12+
13+ # The source code of UMF is located in /home/runner/work/unified-memory-framework/unified-memory-framework.
14+ UMF_DIR=/home/runner/work/unified-memory-framework/unified-memory-framework
15+
16+ # Create required links:
17+ LINKS="
18+ /home/testuser
19+ /home/test-user/actions-runner/_work/unified-memory-framework/unified-memory-framework
20+ /home/test-user/shared-action-runner/_work/unified-memory-framework/unified-memory-framework
21+ /home/test-user/shared-actions-runner/_work/unified-memory-framework/unified-memory-framework
22+ /opt/actions-runner/_work/unified-memory-framework/unified-memory-framework"
23+
24+ for link in $LINKS ; do
25+ sudo mkdir -p $link # create all subdirectories
26+ sudo rm -r $link # remove the last directory
27+ sudo ln -s $UMF_DIR $link # create the link
28+ sudo chown $USER :$GROUP $link # set permissions
29+ ls -al $link # check the link
30+ done
31+
32+ set +x
33+
934OPTS=" "
1035for file in $( ls -1 ${PREFIX} -* ) ; do
1136 OPTS=" $OPTS -a $file "
1237done
1338
14- set -ex
39+ set -x
1540
1641lcov -o $OUTPUT_NAME $OPTS
You can’t perform that action at this time.
0 commit comments