Skip to content

Commit da7dbec

Browse files
committed
Use FLINT main again for pyodide in CI
1 parent eb61033 commit da7dbec

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci-emscripten.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,21 @@ jobs:
9292
emmake make -j $(nproc)
9393
emmake make install
9494
95+
- name: Check out flint
96+
if: steps.cache-wasm-library-dir.outputs.cache-hit != 'true'
97+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
98+
with:
99+
repository: flintlib/flint
100+
path: flint
101+
95102
- name: Build flint
96103
if: steps.cache-wasm-library-dir.outputs.cache-hit != 'true'
97104
env:
98105
CFLAGS: "-fPIC"
99106
WASM_LIBRARY_DIR: ${{ github.workspace }}/wasm-library-dir
107+
working-directory: flint
100108
run: |
101-
curl -L https://github.com/flintlib/flint/releases/download/v3.2.0-rc1/flint-3.2.0-rc1.tar.xz -o flint-3.2.0-rc1.tar.xz
102-
tar -xf flint-3.2.0-rc1.tar.xz
103-
cd flint-3.2.0-rc1
104-
109+
./bootstrap.sh
105110
emconfigure ./configure \
106111
--disable-dependency-tracking \
107112
--disable-shared \
@@ -135,7 +140,7 @@ jobs:
135140
pkg-config --modversion mpfr
136141
pkg-config --modversion flint
137142
138-
pyodide build
143+
pyodide build -C "setup-args='-Dflint_version_check=false'"
139144
140145
- name: Set up Pyodide virtual environment and test python-flint
141146
run: |

0 commit comments

Comments
 (0)