diff options
author | kasperk81 <83082615+kasperk81@users.noreply.github.com> | 2022-12-05 03:32:16 +0000 |
---|---|---|
committer | Stephen M. Webb <stephen.webb@bregmasoft.ca> | 2022-12-06 15:37:54 -0500 |
commit | a09c0fe9551d115761c42d34a053cad02aca752e (patch) | |
tree | bd252336cf0c8df5e84f20b849240d315280175c | |
parent | bf7eea3193cb185be230c02c7e27d9e02eb52e7f (diff) | |
download | libunwind-a09c0fe9551d115761c42d34a053cad02aca752e.tar.gz |
update ci badges in the readme
-rw-r--r-- | .github/workflows/CI-unix.yml (renamed from .github/workflows/CI-linux.yml) | 4 | ||||
-rw-r--r-- | .github/workflows/CI-win.yml | 2 | ||||
-rw-r--r-- | .travis.yml | 103 | ||||
-rw-r--r-- | README | 3 |
4 files changed, 5 insertions, 107 deletions
diff --git a/.github/workflows/CI-linux.yml b/.github/workflows/CI-unix.yml index 3abef54d..7d48b48d 100644 --- a/.github/workflows/CI-linux.yml +++ b/.github/workflows/CI-unix.yml @@ -1,4 +1,4 @@ -name: CI-linux +name: CI - Unix on: pull_request: @@ -9,7 +9,7 @@ on: - '!NEWS' - '!doc/**' - '!.**' - - '.github/workflows/CI-linux.yml' + - '.github/workflows/CI-unix.yml' push: branches: - v[0-9].* diff --git a/.github/workflows/CI-win.yml b/.github/workflows/CI-win.yml index 73e7a1ec..7effb9b2 100644 --- a/.github/workflows/CI-win.yml +++ b/.github/workflows/CI-win.yml @@ -1,4 +1,4 @@ -name: CI-win +name: CI - Windows on: pull_request: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 14ab14a1..00000000 --- a/.travis.yml +++ /dev/null @@ -1,103 +0,0 @@ -sudo: required -language: c -compiler: gcc -env: -- HOST=x86_64-linux-gnu OPT=-O0 -- HOST=x86-linux-gnu OPT=-O0 -- HOST=arm-linux-gnueabihf OPT=-O0 -- HOST=aarch64-linux-gnu OPT=-O0 -- HOST=mipsel-linux-gnu OPT=-O0 -- HOST=powerpc64-linux-gnu OPT=-O0 -- HOST=x86_64-linux-gnu OPT=-O2 -- HOST=x86-linux-gnu OPT=-O2 -- HOST=arm-linux-gnueabihf OPT=-O2 -- HOST=aarch64-linux-gnu OPT=-O2 -- HOST=mipsel-linux-gnu OPT=-O2 -- HOST=powerpc64-linux-gnu OPT=-O2 -- HOST=x86_64-linux-gnu OPT=-O3 -- HOST=x86-linux-gnu OPT=-O3 -- HOST=arm-linux-gnueabihf OPT=-O3 -- HOST=aarch64-linux-gnu OPT=-O3 -- HOST=mipsel-linux-gnu OPT=-O3 -- HOST=powerpc64-linux-gnu OPT=-O3 - -linux-s390x: &linux-s390x - os: linux - dist: focal - arch: s390x - env: HOST=s390x-linux-gnu BUILD=s390x-linux-gnu - script: - - | - CFLAGS="$OPT" - CXXFLAGS="$OPT" - export CFLAGS CXXFLAGS - - autoreconf -i - - ./configure - - make -j32 - - ulimit -c unlimited - - make check -j32 - -linux-arm64: &linux-arm64 - dist: focal - arch: arm64-graviton2 - group: edge - virt: vm - env: OPT=-O2 - script: - - | - CFLAGS="$OPT" - CXXFLAGS="$OPT" - export CFLAGS CXXFLAGS - - autoreconf -i - - ./configure - - make -j32 - - ulimit -c unlimited - - make check -j32 - -windows-remote-only: &windows-remote-only - os: windows - compiler: msvc - script: - - cmake -G "Visual Studio 15 2017" -A ${WINHOST} -S . -B bin/windows-${WINHOST}/${TARGET} - - cmake --build bin/windows-${WINHOST}/${TARGET} - -script: -- | - BUILD=x86_64-linux-gnu - export BUILD - if [ $HOST = 'x86-linux-gnu' ]; then - sudo apt-get update - sudo apt-get install -yqq -o=Dpkg::Use-Pty=0 g++-multilib - CFLAGS=" -m32" - CXXFLAGS=" -m32" - export CFLAGS CXXFLAGS - elif [ $HOST != 'x86_64-linux-gnu' ]; then - sudo apt-get update - sudo apt-get install -yqq -o=Dpkg::Use-Pty=0 g++-$HOST - CC=$HOST-gcc - CXX=$HOST-g++ - export CC CXX - fi -- | - CFLAGS="$CFLAGS $OPT" - CXXFLAGS="$CXXFLAGS $OPT" - export CFLAGS CXXFLAGS -- autoreconf -i -- ./configure CC=$CC CXX=$CXX CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" --build=$BUILD --host=$HOST -- make -j32 -- sudo bash -c 'echo core.%p.%p > /proc/sys/kernel/core_pattern' -- ulimit -c unlimited -- if [ $HOST = 'x86_64-linux-gnu' ]; then make check -j32; fi - -after_failure: cat tests/test-suite.log 2>/dev/null - -jobs: - include: - - <<: *linux-s390x - - <<: *windows-remote-only - env: WINHOST=x64 TARGET=x86_64-linux-gnu - - <<: *windows-remote-only - env: WINHOST=Win32 TARGET=arm-linux-gnueabihf - - <<: *windows-remote-only - env: WINHOST=x64 TARGET=aarch64-linux-gnu - - <<: *linux-arm64 @@ -1,6 +1,7 @@ # libunwind -[![Build Status](https://api.travis-ci.com/libunwind/libunwind.svg?branch=master)](https://app.travis-ci.com/github/libunwind/libunwind) +[![CI - Unix](https://github.com/libunwind/libunwind/actions/workflows/CI-unix.yml/badge.svg)](https://github.com/libunwind/libunwind/actions/workflows/CI-unix.yml) +[![CI - Windows](https://github.com/libunwind/libunwind/actions/workflows/CI-win.yml/badge.svg)](https://github.com/libunwind/libunwind/actions/workflows/CI-win.yml) This library supports several architecture/operating-system combinations: |