Skip to content

Commit

Permalink
FIX: Backport circleci configuration from develop
Browse files Browse the repository at this point in the history
  • Loading branch information
naxuroqa committed Jan 21, 2019
1 parent 344a561 commit 2497629
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,65 @@
---
version: 2
jobs:
build:
docker:
- image: ubuntu:18.04
steps:
- checkout
- run:
name: Add vala-team/ppa
command: |
apt update
apt install -y software-properties-common gnupg
add-apt-repository ppa:vala-team/ppa -y
- run:
name: Install dependencies
command: apt update
&& apt install -y
clang
cmake
libconfig-dev
libgtest-dev
libopus-dev
libsodium-dev
libvpx-dev
pkg-config
libgee-0.8-dev
libgspell-1-dev
libgtk-3-dev
libjson-glib-dev
libsoup2.4-dev
libsqlcipher-dev
libcanberra-dev
libgstreamer1.0-dev
libgstreamer-plugins-base1.0-dev
valac
python3-pip
wget
- run:
name: Install meson
command: pip3 install meson ninja
- run:
name: Build and install toxcore
command: |
wget "https://github.com/TokTok/c-toxcore/archive/v0.2.8.tar.gz"
tar -xzf v0.2.8.tar.gz
cd c-toxcore-0.2.8
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
make install
cd ..
- run:
name: Configure
command: meson build
- run:
name: Build
command: ninja -C build
- run:
name: Test
command: ninja -C build test
workflows:
version: 2
build:
jobs:
- build

0 comments on commit 2497629

Please sign in to comment.