-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: test Pyodide with cibuildwheel and fix 32-bit issue (#3270)
* ci: use cibuildwheel for pyodide test Signed-off-by: Henry Schreiner <[email protected]> * fix: enforce exceptions on pyodide Signed-off-by: Henry Schreiner <[email protected]> * fix: added extra check for emscripten * refactor: use 32-bit check on non-Windows Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: Andres Rios Tascon <[email protected]>
- Loading branch information
Showing
8 changed files
with
90 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,35 @@ env: | |
SOURCE_DATE_EPOCH: "1668811211" | ||
|
||
jobs: | ||
awkward-cpp-wasm: | ||
name: Build C++ WASM | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Generate build files | ||
run: pipx run nox -s prepare -- --headers --signatures --tests | ||
|
||
- uses: pypa/[email protected] | ||
with: | ||
package-dir: awkward-cpp | ||
env: | ||
CIBW_PLATFORM: pyodide | ||
|
||
- name: Upload wheel | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: awkward-cpp-wasm | ||
path: awkward-cpp/dist/awkward*wasm32.whl | ||
|
||
|
||
awkward-cpp-x86-64: | ||
runs-on: ubuntu-22.04 | ||
name: Build C++ x86 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,15 +73,13 @@ jobs: | |
CIBW_ARCHS_MACOS: universal2 | ||
CIBW_BUILD: cp39-win_amd64 cp310-manylinux_x86_64 cp39-macosx_universal2 | ||
with: | ||
config-file: cibuildwheel.toml | ||
package-dir: awkward-cpp | ||
|
||
- uses: pypa/[email protected] | ||
if: matrix.os == 'ubuntu-latest' | ||
env: | ||
CIBW_BUILD: cp312-manylinux_x86_64 | ||
with: | ||
config-file: cibuildwheel.toml | ||
package-dir: awkward-cpp | ||
|
||
- name: Upload wheels | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters