Skip to content

Commit

Permalink
[KYUUBI #1918] Build and test on Linux ARM64
Browse files Browse the repository at this point in the history
### _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

4700c3e [Martin Tzvetanov Grigorov] Remove the AMD64 build job
bd3455b [Martin Tzvetanov Grigorov] Test only kyuubi-common module at TravisCI
a2019ec [Martin Grigorov] TravisCI: First install, then test
01e3b94 [Martin Tzvetanov Grigorov] Set Maven log level to WARN
ee470b3 [Martin Tzvetanov Grigorov] Supress Maven network transfer progress
13e141c [Martin Tzvetanov Grigorov] Dummy commit to trigger build at TravisCI
2b7f30d [Martin Tzvetanov Grigorov] Dummy commit to trigger build at TravisCI
1bf68df [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>
  • Loading branch information
2 people authored and pan3793 committed Feb 21, 2022
1 parent 354bf83 commit 2ac8165
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .travis.yml
Expand Up @@ -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
Expand All @@ -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}"
Expand Down

0 comments on commit 2ac8165

Please sign in to comment.