[KYUUBI #1918] Build and test on Linux ARM64

### _Why are the changes needed?_

More and more software development is being done on ARM64 CPU architecture.
It would be good if Kyuubi is being regularly tested on Linux ARM64 (aarch64).

### _How was this patch tested?_
- [X] An additional job is added to the TravisCI config. Now the build will be executed on both AMD64 and ARM64

Closes #1918 from martin-g/build-on-linux-arm64.

Closes #1918

4700c3ea [Martin Tzvetanov Grigorov] Remove the AMD64 build job
bd3455bc [Martin Tzvetanov Grigorov] Test only kyuubi-common module at TravisCI
a2019ec3 [Martin Grigorov] TravisCI: First install, then test
01e3b94a [Martin Tzvetanov Grigorov] Set Maven log level to WARN
ee470b31 [Martin Tzvetanov Grigorov] Supress Maven network transfer progress
13e141cc [Martin Tzvetanov Grigorov] Dummy commit to trigger build at TravisCI
2b7f30d3 [Martin Tzvetanov Grigorov] Dummy commit to trigger build at TravisCI
1bf68dfd [Martin Tzvetanov Grigorov] Build and test on Linux ARM64

Lead-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
Martin Tzvetanov Grigorov 2022-02-21 17:59:58 +08:00 committed by Cheng Pan
parent 354bf83285
commit 2ac8165220
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -29,6 +29,14 @@ scala:
jdk:
- openjdk8
matrix:
include:
- name: Build Kyuubi on Linux ARM64
dist: focal
arch: arm64-graviton2
group: edge
virt: vm
cache:
directories:
- $HOME/.m2
@ -37,7 +45,9 @@ install:
- ./build/mvn --version
script:
- ./build/mvn clean install -Dmaven.javadoc.skip=true -V
- export MVN_ARGS="-Dmaven.javadoc.skip=true -V -B -ntp -Dorg.slf4j.simpleLogger.defaultLogLevel=warn"
- ./build/mvn clean install -DskipTests $MVN_ARGS
- ./build/mvn test $MVN_ARGS -pl kyuubi-common -am
after_success:
- echo "Travis exited with ${TRAVIS_TEST_RESULT}"