ci(linux): add detail to error [skip ci]

This commit is contained in:
Baptiste Augrain 2024-02-19 16:37:53 +01:00
parent 2be4e5af47
commit 5427f5c36a
3 changed files with 16 additions and 4 deletions

View File

@ -42,8 +42,8 @@ jobs:
npm_arch: arm64
- vscode_arch: armhf
npm_arch: arm
- vscode_arch: ppc64le
npm_arch: ppc64
# - vscode_arch: ppc64le
# npm_arch: ppc64
env:
DISABLE_UPDATE: 'yes'
VSCODE_ARCH: ${{ matrix.vscode_arch }}

View File

@ -0,0 +1,14 @@
diff --git a/build/azure-pipelines/linux/verify-glibc-requirements.sh b/build/azure-pipelines/linux/verify-glibc-requirements.sh
index f07c0ba..bd9aac1 100755
--- a/build/azure-pipelines/linux/verify-glibc-requirements.sh
+++ b/build/azure-pipelines/linux/verify-glibc-requirements.sh
@@ -36,3 +36,3 @@ for file in $files; do
if [[ "$glibc_version" != "$EXPECTED_GLIBC_VERSION" ]]; then
- echo "Error: File $file has dependency on GLIBC > $EXPECTED_GLIBC_VERSION"
+ echo "Error: File $file has dependency on GLIBC($glibc_version) != $EXPECTED_GLIBC_VERSION"
exit 1
@@ -40,3 +40,3 @@ for file in $files; do
if [[ "$glibcxx_version" != "$EXPECTED_GLIBCXX_VERSION" ]]; then
- echo "Error: File $file has dependency on GLIBCXX > $EXPECTED_GLIBCXX_VERSION"
+ echo "Error: File $file has dependency on GLIBCXX($glibcxx_version) != $EXPECTED_GLIBCXX_VERSION"
exit 1

View File

@ -103,8 +103,6 @@ if [[ "${OS_NAME}" == "linux" ]]; then
export VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME
# export NPM_REGISTRY='https://registry.yarnpkg.com'
for i in {1..5}; do # try 5 times
yarn --cwd build --frozen-lockfile --check-files && break
if [[ $i == 3 ]]; then