]> prime8.dev >> repos - ttyd.git/commitdiff
ci: run ldconfig after install libwebsockets
authorShuanglei Tao <tsl0922@gmail.com>
Thu, 5 Dec 2019 15:51:37 +0000 (23:51 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Sun, 8 Dec 2019 05:29:47 +0000 (13:29 +0800)
.github/workflows/backend.yml
.travis.yml

index 3b8551ca1e6650a9131689b177e4e7861f406e4d..d2bc0cbbf593e5a7ccf5e1c04952c00ca5835962 100644 (file)
@@ -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: |
index fb4f0b261e8eceb9f220b63ab627fc5685617149..b39fde0894993533031a571a634bfcf939a5e780 100644 (file)
@@ -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