File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 66
66
- store_artifacts :
67
67
path : /Users/distiller/project/onnxruntime_xcframework.zip
68
68
destination : onnxruntime_xcframework.zip
69
+
70
+ build-and-test-wasm :
71
+ macos :
72
+ xcode : << pipeline.parameters.xcode-version >>
73
+ resource_class : << pipeline.parameters.macos-resource-class >>
74
+
75
+ shell : /bin/bash --login -o pipefail
76
+
77
+ steps :
78
+ - run :
79
+ name : check Xcode version and Python 3
80
+ command : |
81
+ /usr/bin/xcodebuild -version
82
+ python3 --version
83
+ python --version
84
+ which python3
85
+ echo $CIRCLE_WORKING_DIRECTORY
86
+ - checkout
87
+ - run :
88
+ name : create directory to store the library
89
+ command : |
90
+ mkdir -p $HOME/onnxlibrary/macabi_release_v20230327_2320
91
+ - run :
92
+ name : install tools for build
93
+ command : |
94
+ brew install cmake
95
+ pip install -r ${CIRCLE_WORKING_DIRECTORY}/requirements-dev.txt
96
+ - run :
97
+ name : build static wasm library
98
+ command : |
99
+ export PYTHONPATH=${CIRCLE_WORKING_DIRECTORY}/tools/python:$PYTHONPATH
100
+ bash ${CIRCLE_WORKING_DIRECTORY}/build.sh --build_wasm_static_lib --enable_wasm_simd --enable_wasm_threads
101
+
69
102
workflows :
70
103
version : 2
71
104
build-and-test-xcframework :
72
105
jobs :
73
106
- build-and-test-xcframework
107
+ build-and-test-wasm :
108
+ jobs :
109
+ - build-and-test-wasm
You can’t perform that action at this time.
0 commit comments