File tree Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -150,23 +150,18 @@ 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
153+ echo "Get lcov..." \
154+ . ~/.setuprc \
155+ if [ "$OS_NAME" = "Ubuntu" ]; \
156+ then \
157+ apt-get update -y -q; \
158+ elif [ "$OS_NAME" = "Alpine Linux" ]; \
159+ then \
160+ apk update; \
161+ elif [ "$OS_NAME" = "macOS" ]; \
162+ then \
163+ brew update; \
164+ fi \
170165 wget https://raw.githubusercontent.com/${{ env.CI_REPO }}/refs/heads/${{ env.CI_BRANCH }}/ci/shared/scripts/deps/packages.sh && chmod +x packages.sh
171166 ./packages.sh lcov
172167 echo "lcov installed successfully !"
You can’t perform that action at this time.
0 commit comments