-
Notifications
You must be signed in to change notification settings - Fork 112
31 lines (26 loc) · 1 KB
/
Copy pathci-emscripten.yaml
File metadata and controls
31 lines (26 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Tests on Pyodide
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: {}
jobs:
build:
name: Build numcodecs WASM distribution
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: recursive
fetch-depth: 0
# https://github.com/actions/checkout/issues/2041 isn't released yet
# fetch-tags: true # required for version resolution
# TODO: build for Pyodide 314.0.0 stable when released and added to cibuildwheel
# hopefully this will happen for us in sync with cibuildwheel v4.0.0 stable as well
- name: Build and test numcodecs for Pyodide
uses: pypa/cibuildwheel@54327ab9d35de03b359ac25c97de9417d94639c0 # v4.0.0rc1
env:
CIBW_ENABLE: pyodide-prerelease
with:
only: cp314-pyodide_wasm32