### _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>
59 lines
1.7 KiB
YAML
59 lines
1.7 KiB
YAML
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
sudo: required
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
# https://releases.ubuntu.com/ use the latest LTS release of ubuntu
|
|
dist: bionic
|
|
language: scala
|
|
scala:
|
|
- 2.12.15
|
|
jdk:
|
|
- openjdk8
|
|
|
|
matrix:
|
|
include:
|
|
- name: Build Kyuubi on Linux ARM64
|
|
dist: focal
|
|
arch: arm64-graviton2
|
|
group: edge
|
|
virt: vm
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|
|
|
|
install:
|
|
- ./build/mvn --version
|
|
|
|
script:
|
|
- 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}"
|
|
|
|
after_failure:
|
|
- echo "Travis exited with ${TRAVIS_TEST_RESULT}"
|
|
- for log in `find * -name "kyuubi-spark-sql-engine.log*"`; do echo "=========$log========="; grep "ERROR" $log -A 100 -B 20; done
|
|
- for log in `find * -name "unit-tests.log"`; do echo "=========$log========="; grep "ERROR" $log -A 100 -B 20; done
|