File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ deploy:
47
47
local_dir : release-upload
48
48
on :
49
49
tags : true
50
+ # TODO: The gcs provider fails to install on arm64.
51
+ condition : $TRAVIS_CPU_ARCH = amd64
50
52
51
53
cache :
52
54
timeout : 600
Original file line number Diff line number Diff line change @@ -5,9 +5,22 @@ set -euo pipefail
5
5
main () {
6
6
cd " $( dirname " $0 " ) /../.."
7
7
8
+ # This, strangely enough, fixes the arm build being terminated for not having
9
+ # output on Travis. It's as if output is buffered and only displayed once a
10
+ # certain amount is collected. Five seconds didn't work but one second seems
11
+ # to generate enough output to make it work.
12
+ local pid
13
+ while true ; do
14
+ echo ' Still running...'
15
+ sleep 1
16
+ done &
17
+ pid=$!
18
+
8
19
docker build ci/image
9
20
imageTag=" $( docker build -q ci/image) "
10
21
docker run -t --rm -e CI -e GITHUB_TOKEN -e TRAVIS_TAG -v " $( yarn cache dir) :/usr/local/share/.cache/yarn/v6" -v " $PWD :/repo" -w /repo " $imageTag " " $* "
22
+
23
+ kill $pid
11
24
}
12
25
13
26
main " $@ "
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function package() {
17
17
fi
18
18
19
19
local arch
20
- arch=" $( uname -m) "
20
+ arch=$( uname -m | sed ' s/aarch/arm/ ' )
21
21
22
22
echo -n " Creating release..."
23
23
You can’t perform that action at this time.
0 commit comments