8000 CI: keep the Emscripten/Pyodide job on a setup.py-based build · numpy/numpy@84bea46 · GitHub
[go: up one dir, main page]

Skip to content

Commit 84bea46

Browse files
rgommersmattip
authored andcommitted
CI: keep the Emscripten/Pyodide job on a setup.py-based build
1 parent f595e5e commit 84bea46

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/emscripten.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ jobs:
5555 run: pip install pyodide-build==$PYODIDE_VERSION
5656

5757
- name: Build
58-
run: CFLAGS=-g2 LDFLAGS=-g2 pyodide build
58+
run: |
59+
# Pyodide is still in the process of adding better/easier support for
60+
# non-setup.py based builds.
61+
cp pyproject.toml.setuppy pyproject.toml
62+
CFLAGS=-g2 LDFLAGS=-g2 pyodide build
5963
6064
- name: set up node
6165
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0

pyproject.toml.setuppy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# pyproject.toml needed to build with setup.py
2+
# This file is used temporarily to replace the main pyproject.toml when needing
3+
# to avoid building with Meson (e.g., in the Emscripten/Pyodide CI job)
4+
[build-system]
5+
requires = [
6+
"setuptools==59.2.0",
7+
"wheel==0.38.1",
8+
"Cython>=0.29.34,<3.0",
9+
]

0 commit comments

Comments
 (0)
0