Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AArch64/ARM64 job on travis CI #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 60 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ matrix:
- pushd /tmp/indent-2.2.12 && ./configure --prefix=/usr && make && sudo make install && popd
env: C_COMPILER=gcc

- dist: xenial
arch: arm64
addons:
apt:
packages:
- nasm
install:
# Install newer indent to check formatting
- sudo apt-get install texinfo indent
env: C_COMPILER=gcc

### linux clang
- dist: xenial
addons:
Expand All @@ -28,6 +39,14 @@ matrix:
- nasm
env: C_COMPILER=clang

- dist: xenial
arch: arm64
addons:
apt:
packages:
- nasm
env: C_COMPILER=clang

### linux newer clang
- dist: trusty
addons:
Expand All @@ -39,8 +58,29 @@ matrix:
- clang-4.0
env: C_COMPILER=clang-4.0

### linux older gcc
- dist: trusty
arch: arm64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
env: C_COMPILER=clang-4.0

### linux older gcc
- dist: xenial
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.7
env: C_COMPILER=gcc-4.7

- dist: xenial
arch: arm64
addons:
apt:
sources:
Expand All @@ -59,6 +99,16 @@ matrix:
- g++-6
env: C_COMPILER=gcc-6

- dist: trusty
arch: arm64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env: C_COMPILER=gcc-6

### linux extended tests
- dist: xenial
addons:
Expand All @@ -72,6 +122,15 @@ matrix:
- nasm
env: TEST_TYPE=ext

- dist: focal
arch: arm64
env: TEST_TYPE=ext
before_install:
- sudo apt-get update && sudo apt-get install gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64 wine nasm indent
- if [ -n "${C_COMPILER}" ]; then export CC="${C_COMPILER}"; fi
- if [ -n "${AS_ASSEMBL}" ]; then export AS="${AS_ASSEMBL}"; fi


before_install:
- if [ -n "${C_COMPILER}" ]; then export CC="${C_COMPILER}"; fi
- if [ -n "${AS_ASSEMBL}" ]; then export AS="${AS_ASSEMBL}"; fi
Expand Down