File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,22 @@ jobs:
9191 with :
9292 python-version : ${{ env.PYTHON_VERSION }}
9393
94- # - name: Set up Emscripten toolchain
95- # uses: mymindstorm/setup-emsdk@v14
96- # with:
97- # version: ${{ env.EMSCRIPTEN_VERSION }}
98- # actions-cache-folder: emsdk-cache
94+ - name : Checkout necessary patch(es)
95+ uses : actions/checkout@v4
96+ with :
97+ # Check out a single file
98+ sparse-checkout : tools/ci/patches/0003-fix-npy-file-access.patch
99+ sparse-checkout-cone-mode : false
100+
101+ - name : Set up Emscripten toolchain
102+ uses : mymindstorm/setup-emsdk@v14
103+ with :
104+ version : ${{ env.EMSCRIPTEN_VERSION }}
105+ actions-cache-folder : emsdk-cache
106+
107+ - name : Apply necessary patch(es)
108+ # We just need the third patch to fix the npy file access this time
109+ run : patch -d $EMSDK/upstream/emscripten/ -p1 < tools/ci/patches/0003-fix-npy-file-access.patch
99110
100111 - name : Install pyodide-build
101112 run : python -m pip install "pydantic<2" "pyodide-build==${{ env.PYODIDE_VERSION }}"
You can’t perform that action at this time.
0 commit comments