Skip to content

Commit 1e6a64e

Browse files
Use same xbuildenv for building and installing
1 parent defba52 commit 1e6a64e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci-emscripten.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
node-version: ${{ env.NODE_VERSION }}
4444

4545
- name: Install pyodide-build
46-
run: pip install pyodide-build
46+
run: |
47+
pip install pyodide-build
48+
pyodide xbuildenv install ${{ env.PYODIDE_VERSION }}
4749
4850
- name: Restore WASM library directory from cache
4951
id: cache-wasm-library-dir
@@ -141,7 +143,6 @@ jobs:
141143
142144
- name: Set up Pyodide virtual environment and test python-flint
143145
run: |
144-
pyodide xbuildenv install ${{ env.PYODIDE_VERSION }}
145146
pyodide venv .venv-pyodide
146147
147148
source .venv-pyodide/bin/activate

0 commit comments

Comments
 (0)