Skip to content

Commit

Permalink
ci: Add support for arm64
Browse files Browse the repository at this point in the history
This adds arm64 to CI via the AMD Seattle configuration.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
jan-kiszka authored and tvelocity committed Jan 25, 2016
1 parent 0054308 commit 3486e6f
Show file tree
Hide file tree
Showing 4 changed files with 3,098 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -27,7 +27,7 @@ install:
# Install additional packages
- sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu wily main'
- sudo apt-get update -qq
- sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf make
- sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu make
# Install kernel build environment
- pushd ci
- wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz
Expand Down
6 changes: 5 additions & 1 deletion ci/build-all-configs.sh
Expand Up @@ -13,7 +13,7 @@

set -e

CONFIGS="x86 banana-pi vexpress"
CONFIGS="x86 banana-pi vexpress amd-seattle"

# only build a specific config if the branch selects it
if [ ${TRAVIS_BRANCH#coverity_scan-} != ${TRAVIS_BRANCH} ]; then
Expand All @@ -37,6 +37,10 @@ for CONFIG in $CONFIGS; do
ARCH=x86_64
CROSS_COMPILE=
;;
amd-seattle)
ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu-
;;
*)
ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf-
Expand Down
1 change: 1 addition & 0 deletions ci/gen-kernel-build.sh
Expand Up @@ -61,4 +61,5 @@ prepare_kernel
build_kernel x86 x86_64
build_kernel banana-pi arm arm-linux-gnueabihf-
build_kernel vexpress arm arm-linux-gnueabihf-
build_kernel amd-seattle arm64 aarch64-linux-gnu-
package_out

0 comments on commit 3486e6f

Please sign in to comment.