1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00

install libjannson and gtest before build

This commit is contained in:
Falk Werner 2019-02-10 08:54:06 +01:00
parent 1e3984fd19
commit 17bab1d3c8

View File

@ -7,7 +7,7 @@ before_install:
- sudo apt install libjansson-dev - sudo apt install libjansson-dev
- mkdir -p .deps - mkdir -p .deps
- cd .deps - cd .deps
- wget https://github.com/libfuse/libfuse/archive/fuse-3.1.1.tar.gz - wget -O use-3.1.1.tar.gz https://github.com/libfuse/libfuse/archive/fuse-3.1.1.tar.gz
- tar -xf fuse-3.1.1.tar.gz - tar -xf fuse-3.1.1.tar.gz
- cd libfuse-fuse-3.1.1 - cd libfuse-fuse-3.1.1
- ./makeconf.sh - ./makeconf.sh
@ -15,8 +15,8 @@ before_install:
- make - make
- sudo make install - sudo make install
- cd .. - cd ..
- wget https://github.com/warmcat/libwebsockets/archive/v3.1.0.tar.gz - wget -O libwebsockets-3.1.0.tat.gz https://github.com/warmcat/libwebsockets/archive/v3.1.0.tar.gz
- tar -xf v3.1.0.tar.gz - tar -xf libwebsockets-3.1.0.tar.gz
- cd libwebsockets-3.1.0 - cd libwebsockets-3.1.0
- mkdir .build - mkdir .build
- cd .build - cd .build
@ -25,12 +25,32 @@ before_install:
- sudo make install - sudo make install
- cd .. - cd ..
- cd .. - cd ..
- wget -O libjansson-2.12.tar.gz https://github.com/akheron/jansson/archive/v2.12.tar.gz
- tar -xf libjansson-2.12.tar.gz
- cd jansson-2.12
- mkdir .build
- cd .build
- cmake ..
- make
- sudo make install
- cd ..
- cd ..
- wget -O gtest-1.8.1.tar.gz https://github.com/google/googletest/archive/release-1.8.1.tar.gz
- tar -xf gtest-1.8.1.tar.gz
- cd googletest-release-1.8.1
- mkdir .build
- cd .build
- cmake ..
- make
- sudo make install
- cd ..
- cd ..
- cd .. - cd ..
before_script: before_script:
- mkdir .build - mkdir .build
- cd .build - cd .build
- cmake -DCMAKE_BUILD_TYPE=Debug .. - cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_TESTS=ON ..
script: script:
- make - make