From 3046a6ce39d755f50207a2c4a1235069a0eb23fb Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 3 Oct 2021 16:20:05 +0200 Subject: Change: upgrade Emscripten to 2.0.31 and enable LZMA by default (#9604) --- .github/workflows/ci-build.yml | 9 +++++++-- .github/workflows/preview_build.yml | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 3f05869e0..952e860e4 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-20.04 container: # If you change this version, change the number in the cache step too. - image: emscripten/emsdk:2.0.10 + image: emscripten/emsdk:2.0.31 steps: - name: Checkout @@ -26,7 +26,12 @@ jobs: uses: actions/cache@v2 with: path: /emsdk/upstream/emscripten/cache - key: 2.0.10-${{ runner.os }} + key: 2.0.31-${{ runner.os }} + + - name: Patch Emscripten to support LZMA + run: | + cd /emsdk/upstream/emscripten + patch -p1 < ${GITHUB_WORKSPACE}/os/emscripten/emsdk-liblzma.patch - name: Build (host tools) run: | diff --git a/.github/workflows/preview_build.yml b/.github/workflows/preview_build.yml index 9aea890bc..ad254a493 100644 --- a/.github/workflows/preview_build.yml +++ b/.github/workflows/preview_build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 container: # If you change this version, change the number in the cache step too. - image: emscripten/emsdk:2.0.10 + image: emscripten/emsdk:2.0.31 # uid=1001(runner) gid=121(docker) options: -u 1001:121 @@ -46,7 +46,12 @@ jobs: uses: actions/cache@v2 with: path: /emsdk/upstream/emscripten/cache - key: 2.0.10-${{ runner.os }} + key: 2.0.31-${{ runner.os }} + + - name: Patch Emscripten to support LZMA + run: | + cd /emsdk/upstream/emscripten + patch -p1 < ${GITHUB_WORKSPACE}/os/emscripten/emsdk-liblzma.patch - name: Build (host tools) run: | -- cgit v1.2.3-70-g09d2