2024-07-18 18:50:38 +00:00
|
|
|
name: WASM
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2024-08-12 20:51:48 +00:00
|
|
|
- stable
|
2024-08-14 06:59:12 +00:00
|
|
|
- smart_holder
|
2024-08-12 20:51:48 +00:00
|
|
|
- v*
|
2024-07-18 18:50:38 +00:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-wasm-emscripten:
|
|
|
|
name: Pyodide wheel
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
|
|
|
|
2024-09-17 17:19:17 +00:00
|
|
|
- uses: pypa/cibuildwheel@v2.21
|
2024-07-18 18:50:38 +00:00
|
|
|
env:
|
|
|
|
PYODIDE_BUILD_EXPORTS: whole_archive
|
|
|
|
with:
|
|
|
|
package-dir: tests
|
|
|
|
only: cp312-pyodide_wasm32
|