File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-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-actions-runner/_work/unified-memory-framework/unified-memory-framework"
21+
22+ for link in $LINKS ; do
23+ sudo mkdir -p $link # create all subdirectories
24+ sudo rm -r $link # remove the last directory
25+ sudo ln -s $UMF_DIR $link # create the link
26+ sudo chown $USER :$GROUP $link # set permissions
27+ ls -al $link # check the link
28+ done
29+
30+ set +x
31+
932OPTS=" "
1033for file in $( ls -1 ${PREFIX} -* ) ; do
1134 OPTS=" $OPTS -a $file "
1235done
1336
14- set -ex
37+ set -x
1538
1639lcov -o $OUTPUT_NAME $OPTS
You can’t perform that action at this time.
0 commit comments