From 9178459627ce2281cecab36c90cb43718fe80b94 Mon Sep 17 00:00:00 2001 From: Mizux Seiha Date: Tue, 26 Oct 2021 16:32:36 +0200 Subject: [PATCH] ci: Drop use of Travis-CI and Appveyor --- .travis.yml | 139 --------------------------------------------------- README.md | 12 ++++- appveyor.yml | 26 ---------- 3 files changed, 11 insertions(+), 166 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1684c81..0000000 --- a/.travis.yml +++ /dev/null @@ -1,139 +0,0 @@ -language: c - -cache: - timeout: 1000 - directories: - - $HOME/cpu_features_archives - -# see: https://docs.travis-ci.com/user/reference/focal/ -dist: focal -addons: - apt_packages: - - ninja-build - -jobs: - include: - - os: linux - compiler: gcc - 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 - 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 - 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 - 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 - 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 - 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 - 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: - TARGET=aarch64-linux-gnu - script: - - ./scripts/run_integration.sh - # Toolchains for little-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems - - os: linux - env: - TARGET=arm-linux-gnueabihf - script: - - ./scripts/run_integration.sh - # Toolchains for little-endian, 32-bit ARMv8 for GNU/Linux systems - - os: linux - env: - TARGET=armv8l-linux-gnueabihf - script: - - ./scripts/run_integration.sh - # Toolchains for little-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems - - os: linux - env: - TARGET=arm-linux-gnueabi - script: - - ./scripts/run_integration.sh - # Toolchains for big-endian, 64-bit ARMv8 for GNU/Linux systems - - os: linux - env: - TARGET=aarch64_be-linux-gnu - script: - - ./scripts/run_integration.sh - # Toolchains for big-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems - - os: linux - env: - TARGET=armeb-linux-gnueabihf - script: - - ./scripts/run_integration.sh - # Toolchains for big-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems - - os: linux - env: - TARGET=armeb-linux-gnueabi - script: - - ./scripts/run_integration.sh - - os: linux - env: - TARGET=mips32 - script: - - ./scripts/run_integration.sh - - os: linux - env: - TARGET=mips32el - script: - - ./scripts/run_integration.sh - - os: linux - env: - TARGET=mips64 - script: - - ./scripts/run_integration.sh - - os: linux - env: - TARGET=mips64el - script: - - ./scripts/run_integration.sh diff --git a/README.md b/README.md index 291bb2d..6c7ee22 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ -# cpu_features [![Build Status](https://travis-ci.org/google/cpu_features.svg?branch=master)](https://travis-ci.org/google/cpu_features) [![Build status](https://ci.appveyor.com/api/projects/status/46d1owsj7n8dsylq/branch/master?svg=true)](https://ci.appveyor.com/project/gchatelet/cpu-features/branch/master) +# cpu_features +[![Linux Status][linux_svg]][linux_link] +[![Macos Status][macos_svg]][macos_link] +[![Windows Status][windows_svg]][windows_link] + +[linux_svg]: https://github.com/google/cpu_features/actions/workflows/x86_linux.yml/badge.svg?branch=master +[linux_link]: https://github.com/google/cpu_features/actions/workflows/x86_linux.yml +[macos_svg]: https://github.com/google/cpu_features/actions/workflows/x86_darwin.yml/badge.svg?branch=master +[macos_link]: https://github.com/google/cpu_features/actions/workflows/x86_darwin.yml +[windows_svg]: https://github.com/google/cpu_features/actions/workflows/x86_windows.yml/badge.svg?branch=master +[windows_link]: https://github.com/google/cpu_features/actions/workflows/x86_windows.yml A cross-platform C library to retrieve CPU features (such as available instructions) at runtime. diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 649b304..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,26 +0,0 @@ -version: '{build}' -shallow_clone: true - -platform: x64 - -environment: - matrix: - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - CMAKE_GENERATOR: "Visual Studio 16 2019" - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - CMAKE_GENERATOR: "Visual Studio 15 2017 Win64" - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - CMAKE_GENERATOR: "Visual Studio 14 2015 Win64" - -matrix: - fast_finish: true - -before_build: - - cmake --version - - cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -S. -Bcmake_build -G "%CMAKE_GENERATOR%" - -build_script: - - cmake --build cmake_build --config Debug --target ALL_BUILD --verbose - -test_script: - - cmake --build cmake_build --config Debug --target RUN_TESTS --verbose