File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,26 @@ jobs:
150150 fi
151151 CMD='
152152 cd '${WORKSPACE}'; \
153+ echo "Get lcov..."
154+ . ~/.setuprc
155+ if [ "$OS_NAME" = "Ubuntu" ]
156+ then
157+ apt-get update -y -q
158+ apt-get install -y -q --no-install-recommends ca-certificates wget git
159+ elif [ "$OS_NAME" = "Alpine Linux" ]
160+ then
161+ apk update
162+ apk add --no-cache wget git bash
163+ elif [ "$OS_NAME" = "macOS" ]
164+ then
165+ brew update
166+ else
167+ echo "Error. Please implement the pre-setup instructions for OS=$OS_NAME"
168+ exit 1
169+ fi
153170 wget https://raw.githubusercontent.com/${{ env.CI_REPO }}/refs/heads/${{ env.CI_BRANCH }}/ci/shared/scripts/deps/packages.sh && chmod +x packages.sh
154171 ./packages.sh lcov
172+ echo "lcov installed successfully !"
155173 ls -l;
156174 chmod +x ./build.sh; \
157175 \
You can’t perform that action at this time.
0 commit comments