diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-06-05 02:34:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-06-16 03:43:42 +0300 |
commit | c5d05224e5961588b3b4905d0bc4f811f544f5b2 (patch) | |
tree | 1c7054aa33472d179578e2de4880d376441f4182 /.travis.yml | |
parent | d27c70c87ba0728bd12193ceb15484a1919fa068 (diff) | |
download | hercules-c5d05224e5961588b3b4905d0bc4f811f544f5b2.tar.gz hercules-c5d05224e5961588b3b4905d0bc4f811f544f5b2.tar.bz2 hercules-c5d05224e5961588b3b4905d0bc4f811f544f5b2.tar.xz hercules-c5d05224e5961588b3b4905d0bc4f811f544f5b2.zip |
Add arm64 and ppc64le builds
Also add gcc-10 builds into travis.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 144 |
1 files changed, 139 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 76bc2eb06..62c6f9a8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,12 +9,17 @@ addons: install: - ./tools/ci/travis.sh getplugins || true +arch: + - amd64 + before_script: - uname -a + - env - ulimit -c unlimited -S - - ./tools/ci/travis.sh createdb ragnarok root - - ./tools/ci/travis.sh importdb ragnarok root - - ./tools/ci/travis.sh adduser ragnarok travis travis root + - if [[ "$(uname -m)" != "x86_64" ]]; then $SUDO ./tools/ci/travis.sh startmysql; fi + - $SUDO ./tools/ci/travis.sh createdb ragnarok root + - $SUDO ./tools/ci/travis.sh importdb ragnarok root + - $SUDO ./tools/ci/travis.sh adduser ragnarok travis travis root script: - if [[ ! -z "${HPM}" ]]; then ./tools/ci/travis.sh buildhpm $CONFIGURE_FLAGS; fi @@ -117,9 +122,57 @@ jobs: - compiler: clang env: CONFIGURE_FLAGS="--enable-debug --disable-renewal --enable-Werror --enable-buildbot" - compiler: gcc - env: CONFIGURE_FLAGS="--enable-debug --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot" + env: CONFIGURE_FLAGS="--enable-debug --enable-Werror --enable-packetver=20200304 --enable-buildbot" - compiler: gcc - env: CONFIGURE_FLAGS="--enable-debug --disable-renewal --enable-Werror --enable-buildbot" + env: CONFIGURE_FLAGS="--enable-debug CC=gcc-10 --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc-10 + - libpcre3-dev + - mysql-server + - compiler: gcc + env: CONFIGURE_FLAGS="--enable-debug CC=gcc-10 --disable-renewal --enable-Werror --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc-10 + - libpcre3-dev + - mysql-server + - compiler: gcc + env: CONFIGURE_FLAGS="--enable-debug CC=gcc --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc + - libpcre3-dev + - mysql-server + - compiler: gcc + env: CONFIGURE_FLAGS="--enable-debug CC=gcc --disable-renewal --enable-Werror --enable-packetver=20200304 --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc + - libpcre3-dev + - mysql-server + - compiler: gcc + env: CONFIGURE_FLAGS="--enable-debug CC=gcc-10 --enable-packetver-zero --enable-Werror --enable-packetver=20200304 --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc-10 + - libpcre3-dev + - mysql-server - compiler: gcc env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-5 --disable-manager --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot" addons: @@ -192,6 +245,87 @@ jobs: packages: - gdb - gcc-8 + - compiler: gcc + env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-10 --disable-manager --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc-10 + - libpcre3-dev + - mysql-server + - compiler: gcc + env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-10 --disable-manager --disable-renewal --enable-Werror --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc-10 + - libpcre3-dev + - mysql-server + - compiler: gcc + env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-10 --disable-manager --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc-10 + - libpcre3-dev + - mysql-server + - compiler: gcc + env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-10 --disable-manager --disable-renewal --enable-Werror --enable-buildbot" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - gdb + - gcc-10 + - libpcre3-dev + - mysql-server + - compiler: gcc + arch: arm64 + env: CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-10 --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot --disable-manager" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - libpcre3-dev + - gdb + - mysql-server + - gcc-10 + - compiler: gcc + arch: arm64 + env: CONFIGURE_FLAGS="--enable-debug --enable-Werror CC=gcc-10 --enable-packetver=20200304 --enable-packetver-re --enable-buildbot --disable-manager" SUDO="sudo" + dist: focal + addons: + apt: + packages: + - libpcre3-dev + - gdb + - mysql-server + - gcc-10 + - compiler: gcc + arch: ppc64le + env: CONFIGURE_FLAGS="--enable-debug --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot --disable-manager" SUDO="sudo" + dist: bionic + addons: + apt: + packages: + - libpcre3-dev + - gdb + - mysql-server +# big endian not supported +# - compiler: gcc +# arch: s390x +# env: CONFIGURE_FLAGS="--enable-debug --enable-Werror --enable-packetver=20200304 --enable-packetver-re --enable-buildbot" ROOT="true" +# addons: +# apt: +# packages: +# - libpcre3-dev +# - gdb notifications: email: false |