diff options
author | Christian Dywan <christian@twotoasts.de> | 2018-09-06 21:03:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-06 21:03:18 +0200 |
commit | adeb99a063e2364e137e78968276de1860101d98 (patch) | |
tree | c4b974dcff6bfd5d32205fa6a5eeb7dbfccd37ec | |
parent | 7ef77d88b653925b169601de0f0067faaf3d6de9 (diff) | |
download | midori-git-adeb99a063e2364e137e78968276de1860101d98.tar.gz |
Add Circle CI configuration (#47)
A CI system should be configured to
- Build the code
- Run the test cases
- Try installing
-rw-r--r-- | .circleci/config.yml | 39 | ||||
-rw-r--r-- | README.md | 6 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..b62191a8 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,39 @@ +version: 2 +jobs: + build: + docker: + - image: ubuntu:16.04 + steps: + - checkout + - run: + name: Install dependencies + command: | + apt-get update + apt-get install -y cmake xvfb valac libwebkit2gtk-4.0-dev libsoup-gnome2.4-dev libgcr-3-dev libpeas-dev libsqlite3-dev intltool libxml2-utils + - run: + name: Build + command: | + mkdir _build + cd _build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make + - run: + name: Virtual framebuffer + command: Xvfb :99 -screen 0 1280x1024x24 + background: true + - run: + name: Run unit tests + command: | + cd _build + make check + - run: + name: Install system-wide + command: | + cd _build + make install + +workflows: + version: 2 + ci: + jobs: + - build @@ -1,3 +1,9 @@ +[![CircleCI](https://circleci.com/gh/midori-browser/core.svg?style=svg)](https://circleci.com/gh/midori-browser/core) +[![Snap Status](https://build.snapcraft.io/badge/midori-browser/core.svg)](https://build.snapcraft.io/user/midori-browser/core) +[![Telegram](https://img.shields.io/badge/Telegram-Chat-gray.svg?style=flat&logo=telegram&colorA=5583a4&logoColor=fff)](https://www.midori-browser.org/telegram) +[![Twitter](https://img.shields.io/twitter/follow/midoriweb.svg?style=social&label=Follow)](https://twitter.com/midoriweb) +[![Donate](https://img.shields.io/badge/PayPal-Donate-gray.svg?style=flat&logo=paypal&colorA=0071bb&logoColor=fff)](https://www.midori-browser.org/donate) + <p align="center"> <img src="icons/scalable/apps/midori.svg"/> </p> |