@@ -10,44 +10,7 @@ permissions:
1010
1111jobs :
1212 build-wheels :
13- name : wheel ${{ matrix.platform.os }} / ${{ matrix.platform.target }} / py${{ matrix.python }}
14- runs-on : ${{ matrix.platform.os }}
15- strategy :
16- fail-fast : false
17- matrix :
18- platform :
19- - { os: ubuntu-latest, target: x86_64 }
20- - { os: ubuntu-latest, target: aarch64 }
21- - { os: macos-latest, target: x86_64 }
22- - { os: macos-latest, target: aarch64 }
23- python : ["3.12", "3.13"]
24- steps :
25- - uses : actions/checkout@v4
26- - uses : actions/setup-python@v5
27- with :
28- python-version : ${{ matrix.python }}
29- - uses : dtolnay/rust-toolchain@stable
30- with :
31- targets : wasm32-wasip2
32- - name : build wasm transform
33- working-directory : crates/transforms
34- run : cargo build --target wasm32-wasip2 --release
35- - name : stage wasm into sdk
36- run : |
37- mkdir -p apps/sdk/edgeflow/wasm
38- cp crates/transforms/target/wasm32-wasip2/release/_lib.wasm \
39- apps/sdk/edgeflow/wasm/standard_pipeline.wasm
40- - uses : PyO3/maturin-action@v1
41- with :
42- working-directory : apps/sdk
43- target : ${{ matrix.platform.target }}
44- args : --release --out dist --features python -i python${{ matrix.python }}
45- sccache : ' true'
46- manylinux : auto
47- - uses : actions/upload-artifact@v4
48- with :
49- name : wheels-${{ matrix.platform.os }}-${{ matrix.platform.target }}-py${{ matrix.python }}
50- path : apps/sdk/dist
13+ uses : ./.github/workflows/_wheel-build.yml
5114
5215 build-sdist :
5316 name : source distribution
0 commit comments