代码拉取完成,页面将自动刷新
同步操作将从 Bwar/Nebula 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
dist: trusty
sudo: require
language: cpp
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
before_install:
- gcc -v && g++ -v
- doxygen docs/Doxyfile
deploy_docs:
provider: pages
skip_cleanup: pages
github-token: $GH_REPO_TOKEN # Set in the settings page of your repository, as a secure variable
local_dir: docs/html
on:
branch: master
script:
- mkdir BuildNebula
- cd BuildNebula
- export WORK_PATH=`pwd`
- mkdir NebulaDepend NebulaDependBuild
- cd NebulaDependBuild
- wget https://github.com/google/protobuf/archive/v3.6.0.zip
- unzip v3.6.0.zip
- cd protobuf-3.6.0
- chmod u+x autogen.sh
- ./autogen.sh
- ./configure --prefix=${WORK_PATH}/NebulaDepend
- make
- make install
- cd ..
- wget https://github.com/kindy/libev/archive/master.zip
- mv master.zip libev.zip
- unzip libev.zip
- mv libev-master libev
- cd libev/src
- chmod u+x autogen.sh
- ./autogen.sh
- ./configure --prefix=${WORK_PATH}/NebulaDepend
- make
- make install
- cd ../../
- wget https://github.com/redis/hiredis/archive/v0.13.0.zip
- mv v0.13.0.zip hiredis_v0.13.0.zip
- unzip hiredis_v0.13.0.zip
- mv hiredis-0.13.0 hiredis
- cd hiredis
- make
- mkdir ../../NebulaDepend/include/hiredis
- cp -r adapters *.h ../../NebulaDepend/include/hiredis/
- cp libhiredis.so ../../NebulaDepend/lib/
- cd ..
- wget https://github.com/weidai11/cryptopp/archive/CRYPTOPP_6_0_0.tar.gz
- tar -zxvf CRYPTOPP_6_0_0.tar.gz
- cd cryptopp-CRYPTOPP_6_0_0
- make libcryptopp.so
- mkdir ../../NebulaDepend/include/cryptopp
- cp *.h ../../NebulaDepend/include/cryptopp/
- cp libcryptopp.so ../../NebulaDepend/lib/
- cd ..
- wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_0.zip
- unzip OpenSSL_1_1_0.zip
- rm OpenSSL_1_1_0.zip
- cd openssl-OpenSSL_1_1_0
- ./config --prefix=${WORK_PATH}/NebulaDepend
- make
- make install
- cd ..
# now build nebula
- cd ..
- git clone https://github.com/Bwar/Nebula.git Nebula
- mkdir Nebula/include
- mkdir Nebula/lib
- cd Nebula/proto
- ${WORK_PATH}/NebulaDepend/bin/protoc *.proto --cpp_out=../src/pb
- cd ../src
- make
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。