1
0
mirror of https://github.com/falk-werner/webfused synced 2024-09-28 21:50:45 +00:00
falk-werner_webfused/.travis.yml

96 lines
2.1 KiB
YAML
Raw Normal View History

2020-02-09 14:04:58 +00:00
dist: bionic
language: c
compiler:
- gcc
addons:
apt:
update: true
packages:
- build-essential
- cmake
- pkgconf
- wget
- ca-certificates
- openssl
- libssl-dev
- uuid-dev
- udev
- gettext
- python3
- python3-pip
- python3-setuptools
- python3-wheel
2020-02-09 14:09:39 +00:00
- ninja-build
2020-03-02 20:55:39 +00:00
- libconfig-dev
2020-02-09 14:04:58 +00:00
2020-03-02 21:31:11 +00:00
env:
matrix:
- BUILD_TYPE=Coverage CHECK_TARGET=check
- BUILD_TYPE=Debug CHECK_TARGET=memcheck
- BUILD_TPYE=Release CHECK_TARGET=check
- BUILD_TYPE=MinSizeRel CHECK_TARGET=check
2020-02-09 14:04:58 +00:00
before_install:
- mkdir .deps
- cd .deps
# libfuse
2020-02-09 14:14:55 +00:00
- sudo pip3 install --system meson
2020-02-09 14:04:58 +00:00
- wget https://github.com/libfuse/libfuse/archive/fuse-3.9.0.tar.gz -O fuse.tar.gz
- tar -xf fuse.tar.gz
- cd libfuse-fuse-3.9.0
- mkdir .build
- cd .build
- meson ..
- ninja
2020-02-09 14:14:55 +00:00
- sudo ninja install
2020-02-09 14:04:58 +00:00
- cd ..
- cd ..
# libwebsockets
- wget https://github.com/warmcat/libwebsockets/archive/v3.2.0.tar.gz -O libwebsockets.tar.gz
- tar -xf libwebsockets.tar.gz
- cd libwebsockets-3.2.0
- mkdir .build
- cd .build
- cmake ..
- make
2020-02-09 14:14:55 +00:00
- sudo make install
2020-02-09 14:04:58 +00:00
- cd ..
- cd ..
# jansson
- wget https://github.com/akheron/jansson/archive/v2.12.tar.gz -O jansson.tar.gz
- tar -xf jansson.tar.gz
- cd jansson-2.12
- mkdir .build
- cd .build
- cmake ..
- make
2020-02-09 14:14:55 +00:00
- sudo make install
2020-02-09 14:04:58 +00:00
- cd ..
- cd ..
# libwebfuse
2020-03-01 19:25:11 +00:00
- wget https://github.com/falk-werner/webfuse/archive/v0.2.0.tar.gz -O webfuse.tar.gz
2020-02-09 14:04:58 +00:00
- tar -xf webfuse.tar.gz
2020-03-01 19:25:11 +00:00
- cd webfuse-0.2.0
2020-02-09 14:04:58 +00:00
- mkdir .build
- cd .build
2020-03-01 19:25:11 +00:00
- cmake -DWITHOUT_TESTS=ON ..
2020-02-09 14:04:58 +00:00
- make
2020-02-09 14:14:55 +00:00
- sudo make install
2020-02-09 14:04:58 +00:00
- cd ..
- cd ..
- cd ..
before_script:
- mkdir build
- cd build
2020-03-02 21:31:11 +00:00
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
2020-02-09 14:04:58 +00:00
script:
2020-03-02 21:31:11 +00:00
make $CHECK_TARGET
after_success:
- bash <(curl -s https://codecov.io/bash)