mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-15 01:44:44 +00:00
fc59f4e6e5
* fix(cmake): add required emscripten flags Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * Update emscripten.yaml * fix(cmake): add required emscripten flags to headers target Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): incorrect detection of Emscripten Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): allow pybind11::headers to be modified Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): hide a warning when building the tests standalone Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): use explicit variable for is config Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix(cmake): go back to ALIAS target Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: reduce overall diff Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: reduce overall diff Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * chore: shorten code a bit Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
31 lines
545 B
YAML
31 lines
545 B
YAML
name: WASM
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- stable
|
|
- v*
|
|
|
|
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
|
|
|
|
- uses: pypa/cibuildwheel@v2.20
|
|
env:
|
|
PYODIDE_BUILD_EXPORTS: whole_archive
|
|
with:
|
|
package-dir: tests
|
|
only: cp312-pyodide_wasm32
|