Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/cpu_features.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Le Molgat <corentinl@google.com>2021-10-25 12:36:40 +0300
committerMizux <mizux.dev@gmail.com>2021-10-26 14:42:29 +0300
commit440452e9a3d7f1cda110926fb82988bc318e53d2 (patch)
treeacb5ac604bc88e444ff4a13401ea8805e1495b36
parent8971bf0b0e243113e12da7cfd273ffe8acd7b5d1 (diff)
ci(travis): adapt it to the new run_integration.sh
-rw-r--r--.travis.yml120
1 files changed, 69 insertions, 51 deletions
diff --git a/.travis.yml b/.travis.yml
index b5845be..1684c81 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,121 +1,139 @@
language: c
-sudo: false
-
cache:
timeout: 1000
directories:
- $HOME/cpu_features_archives
+# see: https://docs.travis-ci.com/user/reference/focal/
+dist: focal
addons:
apt_packages:
- ninja-build
-env:
- global:
- TOOLCHAIN=NATIVE
- CMAKE_GENERATOR=Ninja
-
-matrix:
+jobs:
include:
- os: linux
compiler: gcc
- env:
- TARGET=x86_64-linux-gnu
+ script:
+ - cmake --version
+ - cmake -S. -Bbuild
+ - cmake --build build --target all -v
+ - cmake --build build --target test -v
+ - cmake --build build --target install -v -- DESTDIR=dist
- os: linux
compiler: clang
- env:
- TARGET=x86_64-linux-gnu
+ script:
+ - cmake --version
+ - cmake -S. -Bbuild
+ - cmake --build build --target all -v
+ - cmake --build build --target test -v
+ - cmake --build build --target install -v -- DESTDIR=dist
+
- os: osx
compiler: gcc
- env:
- TARGET=x86_64-osx
- CMAKE_GENERATOR="Unix Makefiles"
+ script:
+ - cmake --version
+ - cmake -S. -Bbuild -G "Xcode" -DCMAKE_CONFIGURATION_TYPES=Release
+ - cmake --build build --config Release --target ALL_BUILD -v
+ - cmake --build build --config Release --target RUN_TESTS -v
+ - cmake --build build --config Release --target install -v
- os: osx
compiler: clang
- env:
- TARGET=x86_64-osx
- CMAKE_GENERATOR="Unix Makefiles"
+ script:
+ - cmake --version
+ - cmake -S. -Bbuild -G "Xcode" -DCMAKE_CONFIGURATION_TYPES=Release
+ - cmake --build build --target ALL_BUILD -v
+ - cmake --build build --target RUN_TESTS -v
+ - cmake --build build --config Release --target install -v
+
- os: windows
- env:
- TARGET=x86_64-windows
- CMAKE_GENERATOR="Visual Studio 15 2017 Win64"
+ script:
+ - cmake --version
+ - cmake -S. -Bbuild -G "Visual Studio 15 2017 Win64" -DCMAKE_CONFIGURATION_TYPES=Release
+ - cmake --build build --config Release --target ALL_BUILD
+ - cmake --build build --config Release --target RUN_TESTS
+ - cmake --build build --config Release --target INSTALL
# see: https://docs.travis-ci.com/user/multi-cpu-architectures/
- os: linux
arch: ppc64le
compiler: gcc
- env:
- TARGET=ppc64le-linux-gnu
+ script:
+ - cmake --version
+ - cmake -S. -Bbuild
+ - cmake --build build --target all -v
+ - cmake --build build --target test -v
+ - cmake --build build --target install -v -- DESTDIR=dist
- os: linux
arch: ppc64le
compiler: clang
- env:
- TARGET=ppc64le-linux-gnu
+ script:
+ - cmake --version
+ - cmake -S. -Bbuild
+ - cmake --build build --target all -v
+ - cmake --build build --target test -v
+ - cmake --build build --target install -v -- DESTDIR=dist
# Toolchains for little-endian, 64-bit ARMv8 for GNU/Linux systems
- os: linux
env:
- TOOLCHAIN=LINARO
TARGET=aarch64-linux-gnu
- QEMU_ARCH=aarch64
+ script:
+ - ./scripts/run_integration.sh
# Toolchains for little-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
- os: linux
env:
- TOOLCHAIN=LINARO
TARGET=arm-linux-gnueabihf
- QEMU_ARCH=arm
+ script:
+ - ./scripts/run_integration.sh
# Toolchains for little-endian, 32-bit ARMv8 for GNU/Linux systems
- os: linux
env:
- TOOLCHAIN=LINARO
TARGET=armv8l-linux-gnueabihf
- QEMU_ARCH=arm
+ script:
+ - ./scripts/run_integration.sh
# Toolchains for little-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
- os: linux
env:
- TOOLCHAIN=LINARO
TARGET=arm-linux-gnueabi
- QEMU_ARCH=arm
+ script:
+ - ./scripts/run_integration.sh
# Toolchains for big-endian, 64-bit ARMv8 for GNU/Linux systems
- os: linux
env:
- TOOLCHAIN=LINARO
TARGET=aarch64_be-linux-gnu
- QEMU_ARCH=DISABLED
+ script:
+ - ./scripts/run_integration.sh
# Toolchains for big-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
- os: linux
env:
- TOOLCHAIN=LINARO
TARGET=armeb-linux-gnueabihf
- QEMU_ARCH=DISABLED
+ script:
+ - ./scripts/run_integration.sh
# Toolchains for big-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
- os: linux
env:
- TOOLCHAIN=LINARO
TARGET=armeb-linux-gnueabi
- QEMU_ARCH=DISABLED
+ script:
+ - ./scripts/run_integration.sh
- os: linux
env:
- TOOLCHAIN=CODESCAPE
TARGET=mips32
- QEMU_ARCH=mips
+ script:
+ - ./scripts/run_integration.sh
- os: linux
env:
- TOOLCHAIN=CODESCAPE
TARGET=mips32el
- QEMU_ARCH=mipsel
+ script:
+ - ./scripts/run_integration.sh
- os: linux
env:
- TOOLCHAIN=CODESCAPE
TARGET=mips64
- QEMU_ARCH=mips64
+ script:
+ - ./scripts/run_integration.sh
- os: linux
env:
- TOOLCHAIN=CODESCAPE
TARGET=mips64el
- QEMU_ARCH=mips64el
-
-script:
- - cmake --version
- - bash -e -x ./scripts/run_integration.sh
+ script:
+ - ./scripts/run_integration.sh