1language: c 2 3jobs: 4 include: 5 - os: linux 6 dist: focal 7 arch: arm64 8 compiler: gcc 9 env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_ASM=0 10 - os: linux 11 dist: focal 12 arch: arm64 13 compiler: gcc 14 env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS= 15 - os: linux 16 dist: focal 17 arch: arm64 18 compiler: gcc 19 env: BUILD_SYSTEM="autotools" CONFIGURE_OPTS= 20# - os: linux 21# dist: focal 22# arch: arm64 23# compiler: clang 24# env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_STACK_PROTECTOR=OFF # Clang on focal arm64 seems broken, can't find a way to reproduce this on my machine 25 - os: linux 26 dist: focal 27 arch: arm64 28 compiler: gcc 29 env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DENABLE_64_BIT_WORDS=OFF 30 - os: linux 31 dist: focal 32 arch: ppc64le 33 compiler: gcc 34 env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_ASM=0 35 - os: linux 36 dist: focal 37 arch: ppc64le 38 compiler: gcc 39 env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS= 40 - os: linux 41 dist: focal 42 arch: ppc64le 43 compiler: gcc 44 env: BUILD_SYSTEM="autotools" CONFIGURE_OPTS= 45 - os: linux 46 dist: focal 47 arch: ppc64le 48 compiler: clang 49 env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS= 50 - os: linux 51 dist: focal 52 arch: ppc64le 53 compiler: gcc 54 env: BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DENABLE_64_BIT_WORDS=OFF 55 56install: 57 - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -y install libtool-bin libogg-dev; fi 58 59script: 60 - if [[ "${BUILD_SYSTEM}" == "autotools" ]]; then ./autogen.sh && ./configure $CONFIGURE_OPTS && make && make check; fi 61 - if [[ "${BUILD_SYSTEM}" == "cmake" ]]; then mkdir cmake-build && cd cmake-build && cmake .. -DCMAKE_BUILD_TYPE=Release -DINSTALL_MANPAGES=OFF $CONFIGURE_OPTS && cat config.h && cmake --build . && travis_wait 30 ctest --output-on-failure; fi 62