ci(linux): remove arch patches [skip ci]

This commit is contained in:
Baptiste Augrain 2024-02-21 17:37:39 +01:00
parent 36626d3e3e
commit 15b22644df

View file

@ -64,18 +64,6 @@ if [[ -d "../patches/${OS_NAME}/" ]]; then
fi fi
fi fi
done done
if [[ -d "../patches/${OS_NAME}/${VSCODE_ARCH}/" ]]; then
for file in "../patches/${OS_NAME}/${VSCODE_ARCH}/"*.patch; do
if [[ -f "${file}" ]]; then
echo applying patch: "${file}";
if ! git apply --ignore-whitespace "${file}"; then
echo failed to apply patch "${file}" >&2
exit 1
fi
fi
done
fi
fi fi
set -x set -x
@ -97,20 +85,6 @@ if [[ "${OS_NAME}" == "linux" ]]; then
export VSCODE_SYSROOT_PREFIX='-glibc-2.17' export VSCODE_SYSROOT_PREFIX='-glibc-2.17'
VSCODE_HOST_MOUNT="$( pwd )"
export VSCODE_HOST_MOUNT
# if [[ "${VSCODE_ARCH}" == "x64" || "${VSCODE_ARCH}" == "arm64" ]]; then
# VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:centos7-devtoolset8-${VSCODE_ARCH}"
# elif [[ "${VSCODE_ARCH}" == "armhf" ]]; then
# VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:bionic-devtoolset-arm32v7"
# elif [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
# VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:bionic-devtoolset-ppc64le"
# fi
# export VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME
for i in {1..5}; do # try 5 times for i in {1..5}; do # try 5 times
yarn --cwd build --frozen-lockfile --check-files && break yarn --cwd build --frozen-lockfile --check-files && break
if [[ $i == 3 ]]; then if [[ $i == 3 ]]; then