]> prime8.dev >> repos - ttyd.git/commitdiff
worklows: bump to libwebsockets 4.2.1
authorShuanglei Tao <tsl0922@gmail.com>
Sun, 8 Aug 2021 12:16:09 +0000 (20:16 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Sun, 8 Aug 2021 12:16:09 +0000 (20:16 +0800)
.github/workflows/backend.yml
scripts/cross-build.sh
scripts/mingw-build.sh

index 19c668610020da5c6e18fd080d25ec5f28f13981..5d0a5fb68240797d724bb732ab1f42d9bbf762f7 100644 (file)
@@ -19,7 +19,7 @@ jobs:
     runs-on: ubuntu-20.04
     strategy:
       matrix:
-        lws-version: [4.1.6, 3.2.3, 2.4.2]
+        lws-version: [4.2.1, 3.2.3, 2.4.2]
     steps:
       - name: Install packages
         run: |
index 81efadf0dbc83199427df3375b00310b3f9d84fe..2405b113da419b505a29ed36b0a472f78a133b8b 100755 (executable)
@@ -14,7 +14,7 @@ ZLIB_VERSION="${ZLIB_VERSION:-1.2.11}"
 JSON_C_VERSION="${JSON_C_VERSION:-0.15}"
 MBEDTLS_VERSION="${MBEDTLS_VERSION:-2.16.8}"
 LIBUV_VERSION="${LIBUV_VERSION:-1.40.0}"
-LIBWEBSOCKETS_VERSION="${LIBWEBSOCKETS_VERSION:-4.1.6}"
+LIBWEBSOCKETS_VERSION="${LIBWEBSOCKETS_VERSION:-4.2.1}"
 
 build_zlib() {
     echo "=== Building zlib-${ZLIB_VERSION} (${TARGET})..."
index 1a4f4ea45635dc58e6bf8372d8131bfe72ef3af2..8b74cdb2caf36d6c8d3c28dedbd1de16d5538ee3 100644 (file)
@@ -4,7 +4,7 @@ set -eo pipefail
 
 TMPDIR="${TMPDIR:-/tmp}"
 JSON_C_VERSION="${JSON_C_VERSION:-0.15}"
-LIBWEBSOCKETS_VERSION="${LIBWEBSOCKETS_VERSION:-4.1.6}"
+LIBWEBSOCKETS_VERSION="${LIBWEBSOCKETS_VERSION:-4.2.1}"
 
 build_libwebsockets() {
   curl -sLo- "https://github.com/warmcat/libwebsockets/archive/v${LIBWEBSOCKETS_VERSION}.tar.gz" | tar xz -f - -C "${TMPDIR}"