From 637ec2344491f4537a0027c94bbe32634f5bd761 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 17 Aug 2022 07:01:37 +0200 Subject: [PATCH] ci: disable appimage for non-x64 (#1208) --- check_tags.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/check_tags.sh b/check_tags.sh index 96ef36e..b93a3f2 100755 --- a/check_tags.sh +++ b/check_tags.sh @@ -69,7 +69,7 @@ if [ "${VSCODIUM_ASSETS}" != "null" ]; then elif [[ "${OS_NAME}" == "windows" ]]; then # windows-arm64 - if [[ ${VSCODE_ARCH} == "arm64" ]]; then + if [[ "${VSCODE_ARCH}" == "arm64" ]]; then if [[ -z $( contains "VSCodiumSetup-${VSCODE_ARCH}-${RELEASE_VERSION}.exe" ) ]]; then echo "Building on Windows arm64 because we have no system setup" export SHOULD_BUILD="yes" @@ -98,7 +98,7 @@ if [ "${VSCODIUM_ASSETS}" != "null" ]; then fi # windows-ia32 - elif [[ ${VSCODE_ARCH} == "ia32" ]]; then + elif [[ "${VSCODE_ARCH}" == "ia32" ]]; then if [[ -z $( contains "VSCodiumSetup-${VSCODE_ARCH}-${RELEASE_VERSION}.exe" ) ]]; then echo "Building on Windows ia32 because we have no system setup" export SHOULD_BUILD="yes" @@ -196,7 +196,7 @@ if [ "${VSCODIUM_ASSETS}" != "null" ]; then elif [[ "${OS_NAME}" == "linux" ]]; then # linux-arm64 - if [[ ${VSCODE_ARCH} == "arm64" ]]; then + if [[ "${VSCODE_ARCH}" == "arm64" ]]; then if [[ -z $( contains "arm64.deb" ) ]]; then echo "Building on Linux arm64 because we have no DEB" export SHOULD_BUILD="yes" @@ -232,7 +232,7 @@ if [ "${VSCODIUM_ASSETS}" != "null" ]; then fi # linux-armhf - elif [[ ${VSCODE_ARCH} == "armhf" ]]; then + elif [[ "${VSCODE_ARCH}" == "armhf" ]]; then if [[ -z $( contains "armhf.deb" ) ]]; then echo "Building on Linux arm because we have no DEB" export SHOULD_BUILD="yes" @@ -310,6 +310,12 @@ if [ "${VSCODIUM_ASSETS}" != "null" ]; then fi fi else + if [[ "${OS_NAME}" == "linux" ]]; then + if [[ "${VSCODE_ARCH}" != "x64" ]]; then + export SHOULD_BUILD_APPIMAGE="no" + fi + fi + echo "Release assets do not exist at all, continuing build" export SHOULD_BUILD="yes" fi