2017-01-22 04:15:44 +03:00
language : c
2018-05-19 12:32:54 +03:00
2022-04-16 13:27:52 +03:00
jobs :
include :
- os : linux
dist : focal
arch : arm64
compiler : gcc
2022-05-03 10:42:26 +03:00
env : BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_ASM=0
2022-04-16 13:27:52 +03:00
- os : linux
dist : focal
arch : arm64
compiler : gcc
env : BUILD_SYSTEM="cmake" CONFIGURE_OPTS=
- os : linux
dist : focal
arch : arm64
compiler : gcc
env : BUILD_SYSTEM="autotools" CONFIGURE_OPTS=
# - os: linux
# dist: focal
# arch: arm64
# compiler: clang
# 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
- os : linux
dist : focal
arch : arm64
compiler : gcc
2023-03-08 12:11:30 +03:00
env : BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DENABLE_64_BIT_WORDS=OFF
2022-04-16 13:27:52 +03:00
- os : linux
dist : focal
arch : ppc64le
compiler : gcc
2022-05-03 10:42:26 +03:00
env : BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DWITH_ASM=0
2022-04-16 13:27:52 +03:00
- os : linux
dist : focal
arch : ppc64le
compiler : gcc
env : BUILD_SYSTEM="cmake" CONFIGURE_OPTS=
- os : linux
dist : focal
arch : ppc64le
compiler : gcc
env : BUILD_SYSTEM="autotools" CONFIGURE_OPTS=
- os : linux
dist : focal
arch : ppc64le
compiler : clang
env : BUILD_SYSTEM="cmake" CONFIGURE_OPTS=
- os : linux
dist : focal
arch : ppc64le
compiler : gcc
2023-03-08 12:11:30 +03:00
env : BUILD_SYSTEM="cmake" CONFIGURE_OPTS=-DENABLE_64_BIT_WORDS=OFF
2018-05-19 12:32:54 +03:00
2018-05-20 13:00:16 +03:00
install :
2022-04-16 13:27:52 +03:00
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -y install libtool-bin libogg-dev; fi
2018-05-19 12:32:54 +03:00
2017-01-22 04:15:44 +03:00
script :
2019-04-25 07:48:15 +03:00
- if [[ "${BUILD_SYSTEM}" == "autotools" ]]; then ./autogen.sh && ./configure $CONFIGURE_OPTS && make && make check; fi
2022-09-18 19:50:44 +03:00
- 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