File tree 4 files changed +43
-2
lines changed
4 files changed +43
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : WASM
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ pull_request :
6
+ branches :
7
+ - master
8
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
13
+ jobs :
14
+ build-wasm-emscripten :
15
+ name : Pyodide
16
+ runs-on : ubuntu-22.04
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ with :
20
+ submodules : true
21
+ fetch-depth : 0
22
+
23
+ - uses : actions/setup-python@v5
24
+ with :
25
+ python-version : " 3.12"
26
+
27
+
28
+ env :
29
+ CIBW_PLATFORM : pyodide
30
+ CIBW_TEST_SKIP : " *"
31
+
32
+ - uses : actions/upload-artifact@v4
33
+ with :
34
+ path : dist/*.whl
Original file line number Diff line number Diff line change @@ -100,6 +100,13 @@ tar.gz:
100
100
tar -cvz --exclude .git -f ../$(PROJECT_NAME ) .tar.gz .
101
101
ls -alh ../$(PROJECT_NAME ) .tar.gz
102
102
103
+
104
+ SYNC_OUTPUT_DIR ?= headers/include/cubao
105
+ sync_headers :
106
+ mkdir -p $(SYNC_OUTPUT_DIR )
107
+ cp src/naive_svg.hpp $(SYNC_OUTPUT_DIR )
108
+ cp src/pybind11_naive_svg.cpp $(SYNC_OUTPUT_DIR ) /pybind11_naive_svg.hpp
109
+
103
110
# https://stackoverflow.com/a/25817631
104
111
echo-% : ; @echo -n $($* )
105
112
Echo-% : ; @echo $($* )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "scikit_build_core.build"
5
5
6
6
[project ]
7
7
name = " naive_svg"
8
- version = " 0.0.3 "
8
+ version = " 0.0.4 "
9
9
url = " https://github.com/cubao/pybind11-naive-svg"
10
10
description =" naive svg writer"
11
11
readme = " README.md"
You can’t perform that action at this time.
0 commit comments