Dustin Falgout
8 years ago
1 changed files with 9 additions and 18 deletions
@ -1,25 +1,16 @@ |
|||||||
machine: |
machine: |
||||||
timezone: America/Chicago |
timezone: America/Chicago |
||||||
|
services: |
||||||
|
- docker |
||||||
|
|
||||||
dependencies: |
dependencies: |
||||||
post: |
cache_directories: |
||||||
- sudo apt-get update |
- ~/docker |
||||||
- > |
override: |
||||||
sudo apt-get install -y |
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi |
||||||
libgtk-3-0 |
- docker build --rm=false -t antergos/ci-ubuntu build/ci |
||||||
liblightdm-gobject-1-dev |
- mkdir -p ~/docker; docker save antergos/ci-ubuntu > ~/docker/image.tar |
||||||
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 |
|
||||||
|
|
||||||
test: |
test: |
||||||
override: |
override: |
||||||
- cd build && meson.py --prefix=/usr .. |
- docker run -v ${PWD}:/build:rw antergos/ci-ubuntu /bin/bash -c "./autogen.sh && make && make install" |
||||||
- cd build && ninja |
|
||||||
- cd build && sudo ninja install |
|
||||||
|
Loading…
Reference in new issue