File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,12 @@ jobs:
119119 path : ${{ github.workspace }}/wasm-library-dir
120120 key : wasm-library-dir-${{ hashFiles('.github/workflows/ci-emscripten.yml') }}
121121
122+ - name : Restore python-flint build directory from cache
123+ uses : actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
124+ with :
125+ path : ${{ github.workspace }}/flint_wasm_build
126+ key : flint-wasm-build-${{ hashFiles('**/meson.build', '**/pyproject.toml', '**/setup.py') }}
127+
122128 - name : Build python-flint
123129 env :
124130 WASM_LIBRARY_DIR : ${{ github.workspace }}/wasm-library-dir
@@ -135,7 +141,13 @@ jobs:
135141 pkg-config --modversion mpfr
136142 pkg-config --modversion flint
137143
138- pyodide build
144+ pyodide build -Cbuild-dir=flint_wasm_build
145+
146+ - name : Persist python-flint build directory to cache
147+ uses : actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
148+ with :
149+ path : ${{ github.workspace }}/flint_wasm_build
150+ key : flint-wasm-build-${{ hashFiles('**/meson.build', '**/pyproject.toml', '**/setup.py') }}
139151
140152 - name : Set up Pyodide virtual environment and test python-flint
141153 run : |
You can’t perform that action at this time.
0 commit comments