add CI and CI badges to README

This commit is contained in:
2017-10-24 21:34:43 +07:00
parent 8c467a32b4
commit 07d86aa776
3 changed files with 64 additions and 0 deletions

View File

@@ -2,14 +2,20 @@
> Experimental library for currying in C++14
[![circleci][badge.circleci]][circleci]
[![appveyor][badge.appveyor]][appveyor]
[![license][badge.license]][license]
[![godbolt][badge.godbolt]][godbolt]
[![wandbox][badge.wandbox]][wandbox]
[badge.circleci]: https://circleci.com/gh/BlackMATov/kari.hpp.svg?style=shield
[badge.appveyor]: https://ci.appveyor.com/api/projects/status/github/blackmatov/kari.hpp?svg=true&passingText=master%20-%20OK
[badge.license]: https://img.shields.io/badge/license-MIT-blue.svg
[badge.godbolt]: https://img.shields.io/badge/try%20it-on%20godbolt-orange.svg
[badge.wandbox]: https://img.shields.io/badge/try%20it-on%20wandbox-5cb85c.svg
[circleci]: https://circleci.com/gh/BlackMATov/kari.hpp
[appveyor]: https://ci.appveyor.com/project/BlackMATov/kari-hpp-arict
[license]: https://github.com/BlackMATov/kari.hpp/blob/master/LICENSE
[godbolt]: https://godbolt.org/g/XPBgjY
[wandbox]: https://wandbox.org/permlink/l2PeuYUx2K2Yqbwj

16
appveyor.yml Normal file
View File

@@ -0,0 +1,16 @@
version: "{build}"
shallow_clone: true
image:
- Visual Studio 2017
configuration:
- Debug
- Release
platform:
- Win32
- x64
build_script:
- mkdir build && cd build
- cmake .. -A%PLATFORM%
- cmake --build . --config %CONFIGURATION%
- ..\build\%CONFIGURATION%\kari.exe
test: off

42
circle.yml Normal file
View File

@@ -0,0 +1,42 @@
version: 2
jobs:
gcc_build_debug:
docker:
- image: rikorose/gcc-cmake
steps:
- checkout
- run: cmake --version && gcc --version
- run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=DEBUG && cmake --build .
- run: ./build/kari
gcc_build_release:
docker:
- image: rikorose/gcc-cmake
steps:
- checkout
- run: cmake --version && gcc --version
- run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=RELEASE && cmake --build .
- run: ./build/kari
clang_build_debug:
docker:
- image: mickare/cmake-clang
steps:
- checkout
- run: cmake --version && clang --version
- run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=DEBUG && cmake --build .
- run: ./build/kari
clang_build_release:
docker:
- image: mickare/cmake-clang
steps:
- checkout
- run: cmake --version && clang --version
- run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=RELEASE && cmake --build .
- run: ./build/kari
workflows:
version: 2
build_all:
jobs:
- gcc_build_debug
- clang_build_debug
- gcc_build_release
- clang_build_release