Browse Source

update circle.yml

sisyphus
Dustin Falgout 8 years ago
parent
commit
0bcc2acdcf
  1. 27
      circle.yml

27
circle.yml

@ -1,25 +1,16 @@
machine:
timezone: America/Chicago
services:
- docker
dependencies:
post:
- sudo apt-get update
- >
sudo apt-get install -y
libgtk-3-0
liblightdm-gobject-1-dev
libdbus-glib-1-dev
gnome-common
python3-pip
# use the repository from xenial to get libwebkit2gtk-4.0-dev
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ yakkety main universe"
- sudo apt-get update
# ignore the error during the installation
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y ninja-build libwebkit2gtk-4.0-dev || true
- sudo pip3 install meson
cache_directories:
- ~/docker
override:
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
- docker build --rm=false -t antergos/ci-ubuntu build/ci
- mkdir -p ~/docker; docker save antergos/ci-ubuntu > ~/docker/image.tar
test:
override:
- cd build && meson.py --prefix=/usr ..
- cd build && ninja
- cd build && sudo ninja install
- docker run -v ${PWD}:/build:rw antergos/ci-ubuntu /bin/bash -c "./autogen.sh && make && make install"

Loading…
Cancel
Save