Skip to content

Commit 745d8b4

Browse files
committed
Disable ARM64 releases as ARM on Travis is very unreliable
1 parent be032cf commit 745d8b4

File tree

2 files changed

+11
-20
lines changed

2 files changed

+11
-20
lines changed

.travis.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@ jobs:
1212
if: tag IS present
1313
script: ./ci/steps/linux-release.sh
1414
install: null
15-
- name: Linux Release
16-
if: tag IS present
17-
arch: arm64
18-
script: |
19-
sudo apt-get update && sudo apt-get install -y jq || exit 1
20-
./ci/steps/linux-release.sh
21-
install: null
15+
# Unfortunately ARM on travis is very unreliable.
16+
# We see random build failures, logging output being truncated, build being killed
17+
# due to no output even though we use travis_wait etc.
18+
# So we've disabled it for now.
19+
# - name: Linux Release
20+
# if: tag IS present
21+
# arch: arm64
22+
# script: |
23+
# sudo apt-get update && sudo apt-get install -y jq || exit 1
24+
# travis_wait 60./ci/steps/linux-release.sh
25+
# install: null
2226
- name: MacOS Release
2327
if: tag IS present
2428
os: osx

ci/steps/linux-release.sh

-13
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,6 @@ main() {
55
cd "$(dirname "$0")/../.."
66
source ./ci/lib.sh
77

8-
if [[ $(arch) == arm64 ]]; then
9-
# This, strangely enough, fixes the arm build being terminated for not having
10-
# output on Travis. It's as if output is buffered and only displayed once a
11-
# certain amount is collected. Five seconds didn't work but one second seems
12-
# to generate enough output to make it work.
13-
while true; do
14-
echo 'Still running...'
15-
sleep 1
16-
done &
17-
trap "exit" INT TERM
18-
trap "kill 0" EXIT
19-
fi
20-
218
./ci/container/exec.sh ./ci/steps/static-release.sh
229
./ci/container/exec.sh yarn pkg
2310
./ci/release-container/push.sh

0 commit comments

Comments
 (0)