Skip to content

Commit

Permalink
ci(linux): simple deps install on compile step [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Feb 21, 2024
1 parent 25743e2 commit 1dc9cbe
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions prepare_vscode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,7 @@ if [[ "${OS_NAME}" == "linux" ]]; then
export npm_config_arm_version=7
fi

if [[ "${CI_BUILD}" == "no" ]]; then
yarn --frozen-lockfile --check-files
else
mkdir -p .build

export VSCODE_SYSROOT_PREFIX='-glibc-2.17'

for i in {1..5}; do # try 5 times
yarn --cwd build --frozen-lockfile --check-files && break
if [[ $i == 3 ]]; then
echo "Yarn failed too many times" >&2
exit 1
fi
echo "Yarn failed $i, trying again..."
done

./build/azure-pipelines/linux/install.sh

EXPECTED_GLIBC_VERSION="2.17" EXPECTED_GLIBCXX_VERSION="3.4.22" ./build/azure-pipelines/linux/verify-glibc-requirements.sh

node build/azure-pipelines/distro/mixin-npm
fi
CHILD_CONCURRENCY=1 yarn --frozen-lockfile --check-files --network-timeout 180000
elif [[ "${OS_NAME}" == "osx" ]]; then
CHILD_CONCURRENCY=1 yarn --frozen-lockfile --network-timeout 180000

Expand Down

0 comments on commit 1dc9cbe

Please sign in to comment.