From: Shuanglei Tao Date: Sun, 8 Aug 2021 12:16:09 +0000 (+0800) Subject: worklows: bump to libwebsockets 4.2.1 X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=01f0583ccb3c45b1534550a2ba7be38d68973290;p=ttyd.git worklows: bump to libwebsockets 4.2.1 --- diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 19c6686..5d0a5fb 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -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: | diff --git a/scripts/cross-build.sh b/scripts/cross-build.sh index 81efadf..2405b11 100755 --- a/scripts/cross-build.sh +++ b/scripts/cross-build.sh @@ -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})..." diff --git a/scripts/mingw-build.sh b/scripts/mingw-build.sh index 1a4f4ea..8b74cdb 100644 --- a/scripts/mingw-build.sh +++ b/scripts/mingw-build.sh @@ -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}"