From: Shuanglei Tao Date: Thu, 5 Dec 2019 15:51:37 +0000 (+0800) Subject: ci: run ldconfig after install libwebsockets X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=48083b108caa240c440b20e694611e478a4c90a9;p=ttyd.git ci: run ldconfig after install libwebsockets --- diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 3b8551c..d2bc0cb 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -29,7 +29,7 @@ jobs: curl -sLo- https://github.com/warmcat/libwebsockets/archive/v${LWS_VERSION}.tar.gz | tar xz cd libwebsockets-${LWS_VERSION} cmake -DLWS_WITH_LIBUV=ON -DLWS_UNIX_SOCK=ON -DLWS_IPV6=ON -DLWS_WITHOUT_TESTAPPS=ON -DCMAKE_BUILD_TYPE=RELEASE . - make && sudo make install + make && sudo make install && sudo ldconfig - uses: actions/checkout@v1 - name: build ttyd run: | diff --git a/.travis.yml b/.travis.yml index fb4f0b2..b39fde0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ node_js: - "12" services: docker env: + - LIBWEBSOCKETS_VERSION=3.2.0 - LIBWEBSOCKETS_VERSION=3.1.0 - LIBWEBSOCKETS_VERSION=2.4.2 - LIBWEBSOCKETS_VERSION=1.7.9 @@ -24,7 +25,7 @@ install: curl -sLo- https://github.com/warmcat/libwebsockets/archive/v$LIBWEBSOCKETS_VERSION.tar.gz | tar xz cd libwebsockets-$LIBWEBSOCKETS_VERSION cmake -DLWS_WITH_LIBUV=ON -DLWS_UNIX_SOCK=ON -DLWS_IPV6=ON -DLWS_WITHOUT_TESTAPPS=ON -DCMAKE_BUILD_TYPE=RELEASE . - make && sudo make install + make && sudo make install && sudo ldconfig popd script: | yarn --cwd ./html run build