diff --git a/.github/workflows/insider-linux.yml b/.github/workflows/insider-linux.yml index 9f8f2b0965b..7e69c295ef0 100644 --- a/.github/workflows/insider-linux.yml +++ b/.github/workflows/insider-linux.yml @@ -174,6 +174,9 @@ jobs: vscode_arch: loong64 npm_arch: loong64 image: vscodium/vscodium-linux-build-agent:trixie-loong64 + - slug: PPC64 + vscode_arch: ppc64le + npm_arch: ppc64 container: image: ${{ matrix.image }} env: diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 3f3785475ac..65779233354 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -173,6 +173,10 @@ jobs: vscode_arch: loong64 npm_arch: loong64 image: vscodium/vscodium-linux-build-agent:trixie-loong64 + - slug: PPC64 + vscode_arch: ppc64le + npm_arch: ppc64 + image: vscodium/vscodium-linux-build-agent:focal-ppc64le container: image: ${{ matrix.image }} env: diff --git a/check_tags.sh b/check_tags.sh index f0fb47b2407..456c8e59764 100755 --- a/check_tags.sh +++ b/check_tags.sh @@ -373,7 +373,14 @@ elif [[ "${ASSETS}" != "null" ]]; then SHOULD_BUILD_APPIMAGE="no" SHOULD_BUILD_DEB="no" SHOULD_BUILD_RPM="no" - SHOULD_BUILD_TAR="no" + + if [[ -z $( contains "${APP_NAME}-linux-ppc64le-${RELEASE_VERSION}.tar.gz" ) ]]; then + echo "Building on Linux PowerPC64LE because we have no TAR" + export SHOULD_BUILD="yes" + else + export SHOULD_BUILD_TAR="no" + fi + if [[ -z $( contains "${APP_NAME_LC}-reh-linux-ppc64le-${RELEASE_VERSION}.tar.gz" ) ]]; then echo "Building on Linux PowerPC64LE because we have no REH archive" diff --git a/electron_linux_ppc64le.sh b/electron_linux_ppc64le.sh new file mode 100644 index 00000000000..69b1830b55c --- /dev/null +++ b/electron_linux_ppc64le.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -ex + +export ELECTRON_VERSION="32.2.5" +export VSCODE_ELECTRON_TAG="v${ELECTRON_VERSION}" diff --git a/electron_linux_ppc64le.sha256sums b/electron_linux_ppc64le.sha256sums new file mode 100644 index 00000000000..3c02620eaa0 --- /dev/null +++ b/electron_linux_ppc64le.sha256sums @@ -0,0 +1,11 @@ +286fb5f6392b0e937a52901014bc2022a578dea443e20c392d367ed399e8c1ab *chromedriver-v32.2.5-linux-ppc64le.zip +dfaa0a22fe7aca731d20b91deb7aed355de2e35c65bc09c2f2395d8c78cb53c5 *electron-v32.2.5-linux-ppc64le-debug.zip +a6ab217b8d7c9f284fea4ba2e35a8623d6d996c76361f6cc33e4b61e6f38dc1a *electron-v32.2.5-linux-ppc64le-symbols.zip +979479502d505ab2a16907ab8e1b358e88d9374295ce5dbe2207865367bc5972 *electron-v32.2.5-linux-ppc64le.zip +146a192ac5e05bbd8172e3107cd4a1cae2b4882c98272ec735a2628889803104 *electron.d.ts +5d7a1064d30dc30c8574878b52702dc0b4c7af5e247642957bbc491e66938cb6 *ffmpeg-v32.2.5-linux-ppc64le.zip +0ecd17e582e90fa0dda7e9e76429bceb93628ac3231d8d558d723f03e3e9d55c *hunspell_dictionaries.zip +8a72820655810ea0f917e73eb05ea90115f914060a716d7920e67e6dbc488ee8 *libcxx-objects-v32.2.5-linux-ppc64le.zip +91aa5b5b835de4846f05ebe9a988323c919825ba8bae182d8b7732c4dbda3d80 *libcxx_headers.zip +9c4f3cc365da92936bd3df9d3175737bb42558b91d8b2bc40d39e7c1b06c5554 *libcxxabi_headers.zip +018a86eb6c764a2b9307999225d4fe1ed2eb1d0bb54edf1289fe5c126a814043 *mksnapshot-v32.2.5-linux-ppc64le.zip diff --git a/package_linux_bin.sh b/package_linux_bin.sh index aed162e4537..f239c7b6640 100755 --- a/package_linux_bin.sh +++ b/package_linux_bin.sh @@ -25,6 +25,10 @@ elif [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then export VSCODE_SYSROOT_VERSION='20240129-253798' export VSCODE_SYSROOT_PREFIX='-glibc-2.28' export USE_GNUPP2A=1 + export ELECTRON_SKIP_BINARY_DOWNLOAD=1 + export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 + export VSCODE_SKIP_SETUPENV=1 + export VSCODE_ELECTRON_REPOSITORY='lex-ibm/electron-ppc64le-build-scripts' elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then export VSCODE_ELECTRON_REPOSITORY='riscv-forks/electron-riscv-releases' export ELECTRON_SKIP_BINARY_DOWNLOAD=1