mirror of
https://github.com/VSCodium/vscodium
synced 2024-10-02 09:03:31 +00:00
ci(linux): add option to check all architectures [skip ci]
This commit is contained in:
parent
ab01a1aa00
commit
a1f3d6ff6c
5
.github/workflows/insider-linux.yml
vendored
5
.github/workflows/insider-linux.yml
vendored
|
@ -61,6 +61,7 @@ jobs:
|
||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CHECK_ALL: 'yes'
|
||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
|
@ -241,8 +242,8 @@ jobs:
|
||||||
npm_arch: arm64
|
npm_arch: arm64
|
||||||
- vscode_arch: armhf
|
- vscode_arch: armhf
|
||||||
npm_arch: arm
|
npm_arch: arm
|
||||||
# - vscode_arch: ppc64le
|
- vscode_arch: ppc64le
|
||||||
# npm_arch: ppc64
|
npm_arch: ppc64
|
||||||
- vscode_arch: riscv64
|
- vscode_arch: riscv64
|
||||||
npm_arch: riscv64
|
npm_arch: riscv64
|
||||||
env:
|
env:
|
||||||
|
|
1
.github/workflows/stable-linux.yml
vendored
1
.github/workflows/stable-linux.yml
vendored
|
@ -60,6 +60,7 @@ jobs:
|
||||||
- name: Check existing VSCodium tags/releases
|
- name: Check existing VSCodium tags/releases
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CHECK_ALL: 'yes'
|
||||||
run: ./check_tags.sh
|
run: ./check_tags.sh
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
|
|
|
@ -219,9 +219,10 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
||||||
echo "Already have the Linux REH ${VSCODE_ARCH} archive"
|
echo "Already have the Linux REH ${VSCODE_ARCH} archive"
|
||||||
export SHOULD_BUILD_REH="no"
|
export SHOULD_BUILD_REH="no"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
|
||||||
# linux-arm64
|
# linux-arm64
|
||||||
elif [[ "${VSCODE_ARCH}" == "arm64" ]]; then
|
if [[ "${VSCODE_ARCH}" == "arm64" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
if [[ -z $( contains "arm64.deb" ) ]]; then
|
if [[ -z $( contains "arm64.deb" ) ]]; then
|
||||||
echo "Building on Linux arm64 because we have no DEB"
|
echo "Building on Linux arm64 because we have no DEB"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
|
@ -255,9 +256,10 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Linux arm64 builds"
|
echo "Already have all the Linux arm64 builds"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# linux-armhf
|
# linux-armhf
|
||||||
elif [[ "${VSCODE_ARCH}" == "armhf" ]]; then
|
if [[ "${VSCODE_ARCH}" == "armhf" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
if [[ -z $( contains "armhf.deb" ) ]]; then
|
if [[ -z $( contains "armhf.deb" ) ]]; then
|
||||||
echo "Building on Linux arm because we have no DEB"
|
echo "Building on Linux arm because we have no DEB"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
|
@ -291,9 +293,10 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Linux arm builds"
|
echo "Already have all the Linux arm builds"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# linux-ppc64le
|
# linux-ppc64le
|
||||||
elif [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
if [[ "${VSCODE_ARCH}" == "ppc64le" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
SHOULD_BUILD_APPIMAGE="no"
|
SHOULD_BUILD_APPIMAGE="no"
|
||||||
SHOULD_BUILD_DEB="no"
|
SHOULD_BUILD_DEB="no"
|
||||||
SHOULD_BUILD_RPM="no"
|
SHOULD_BUILD_RPM="no"
|
||||||
|
@ -309,9 +312,10 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Linux PowerPC64LE builds"
|
echo "Already have all the Linux PowerPC64LE builds"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# linux-riscv64
|
# linux-riscv64
|
||||||
elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
|
if [[ "${VSCODE_ARCH}" == "riscv64" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
SHOULD_BUILD_APPIMAGE="no"
|
SHOULD_BUILD_APPIMAGE="no"
|
||||||
SHOULD_BUILD_DEB="no"
|
SHOULD_BUILD_DEB="no"
|
||||||
SHOULD_BUILD_RPM="no"
|
SHOULD_BUILD_RPM="no"
|
||||||
|
@ -327,9 +331,10 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
||||||
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
if [[ "${SHOULD_BUILD}" != "yes" ]]; then
|
||||||
echo "Already have all the Linux PowerPC64LE builds"
|
echo "Already have all the Linux PowerPC64LE builds"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# linux-x64
|
# linux-x64
|
||||||
else
|
if [[ "${VSCODE_ARCH}" == "x64" || "${CHECK_ALL}" == "yes" ]]; then
|
||||||
if [[ -z $( contains "amd64.deb" ) ]]; then
|
if [[ -z $( contains "amd64.deb" ) ]]; then
|
||||||
echo "Building on Linux x64 because we have no DEB"
|
echo "Building on Linux x64 because we have no DEB"
|
||||||
export SHOULD_BUILD="yes"
|
export SHOULD_BUILD="yes"
|
||||||
|
@ -370,11 +375,12 @@ elif [[ "${ASSETS}" != "null" ]]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [[ "${IS_SPEARHEAD}" == "yes" ]]; then
|
if [[ "${IS_SPEARHEAD}" == "yes" ]]; then
|
||||||
export SHOULD_BUILD_SRC="yes"
|
export SHOULD_BUILD_SRC="yes"
|
||||||
elif [[ "${OS_NAME}" == "linux" ]]; then
|
elif [[ "${OS_NAME}" == "linux" ]]; then
|
||||||
if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
|
if [[ "${VSCODE_ARCH}" == "ppc64le" || "${VSCODE_ARCH}" == "riscv64" ]]; then
|
||||||
SHOULD_BUILD_DEB="no"
|
SHOULD_BUILD_DEB="no"
|
||||||
SHOULD_BUILD_RPM="no"
|
SHOULD_BUILD_RPM="no"
|
||||||
SHOULD_BUILD_TAR="no"
|
SHOULD_BUILD_TAR="no"
|
||||||
|
|
Loading…
Reference in a new issue