mirror of https://git.tuxpa.in/a/code-server.git
Disable ARM64 releases as ARM on Travis is very unreliable
This commit is contained in:
parent
be032cf735
commit
1a375a44e0
18
.travis.yml
18
.travis.yml
|
@ -12,13 +12,17 @@ jobs:
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
script: ./ci/steps/linux-release.sh
|
script: ./ci/steps/linux-release.sh
|
||||||
install: null
|
install: null
|
||||||
- name: Linux Release
|
# Unfortunately ARM on travis is very unreliable.
|
||||||
if: tag IS present
|
# We see random build failures, logging output being truncated, build being killed
|
||||||
arch: arm64
|
# due to no output even though we use travis_wait etc.
|
||||||
script: |
|
# So we've disabled it for now.
|
||||||
sudo apt-get update && sudo apt-get install -y jq || exit 1
|
# - name: Linux Release
|
||||||
./ci/steps/linux-release.sh
|
# if: tag IS present
|
||||||
install: null
|
# arch: arm64
|
||||||
|
# script: |
|
||||||
|
# sudo apt-get update && sudo apt-get install -y jq || exit 1
|
||||||
|
# travis_wait 60 ./ci/steps/linux-release.sh
|
||||||
|
# install: null
|
||||||
- name: MacOS Release
|
- name: MacOS Release
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
os: osx
|
os: osx
|
||||||
|
|
|
@ -5,19 +5,6 @@ main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
source ./ci/lib.sh
|
source ./ci/lib.sh
|
||||||
|
|
||||||
if [[ $(arch) == arm64 ]]; then
|
|
||||||
# This, strangely enough, fixes the arm build being terminated for not having
|
|
||||||
# output on Travis. It's as if output is buffered and only displayed once a
|
|
||||||
# certain amount is collected. Five seconds didn't work but one second seems
|
|
||||||
# to generate enough output to make it work.
|
|
||||||
while true; do
|
|
||||||
echo 'Still running...'
|
|
||||||
sleep 1
|
|
||||||
done &
|
|
||||||
trap "exit" INT TERM
|
|
||||||
trap "kill 0" EXIT
|
|
||||||
fi
|
|
||||||
|
|
||||||
./ci/container/exec.sh ./ci/steps/static-release.sh
|
./ci/container/exec.sh ./ci/steps/static-release.sh
|
||||||
./ci/container/exec.sh yarn pkg
|
./ci/container/exec.sh yarn pkg
|
||||||
./ci/release-container/push.sh
|
./ci/release-container/push.sh
|
||||||
|
|
Loading…
Reference in New Issue