Skip to content

Commit e2e6db2

Browse files
committed
ARROW-8753: [CI][C++] Add a test job for ARM
Closes #7141 from kou/cpp-ci-arm64 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 48804b7 commit e2e6db2

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.travis.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ dist: bionic
1919

2020
language: minimal
2121

22+
cache:
23+
directories:
24+
- $TRAVIS_BUILD_DIR/.docker
25+
2226
addons:
2327
apt:
2428
packages:
@@ -29,6 +33,14 @@ services:
2933

3034
jobs:
3135
include:
36+
- name: "C++ on ARM"
37+
os: linux
38+
arch: arm64
39+
env:
40+
ARCH: arm64v8
41+
ARROW_CI_MODULES: "CPP"
42+
DOCKER_IMAGE_ID: ubuntu-cpp
43+
UBUNTU: "20.04"
3244
- name: "C++ on s390x"
3345
os: linux
3446
arch: s390x
@@ -64,7 +76,7 @@ before_install:
6476
arrow_ci_affected=no
6577
for arrow_ci_module in ${ARROW_CI_MODULES}; do
6678
arrow_ci_affected_variable=ARROW_CI_${arrow_ci_module}_AFFECTED
67-
if [ "$(eval 'echo ${arrow_ci_affected_variable}')" != "1" ]; then
79+
if [ "$(eval "echo \$${arrow_ci_affected_variable}")" = "1" ]; then
6880
arrow_ci_affected=yes
6981
fi
7082
done
@@ -101,4 +113,7 @@ script:
101113
102114
after_success:
103115
- |
104-
archery docker push ${DOCKER_IMAGE_ID} || :
116+
if [ "${TRAVIS_EVENT_TYPE}" = "push" -a \
117+
"${TRAVIS_REPO_SLUG}" = "apache/arrow" ]; then
118+
archery docker push ${DOCKER_IMAGE_ID} || :
119+
fi

0 commit comments

Comments
 (0)