File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1313 cflags : " -O3"
1414 cxxflags : " -O3"
1515 ldflags : " -O3"
16- - build_type : " Release "
16+ - build_type : " Debug "
1717 cflags : " -Og -g"
1818 cxxflags : " -Og -g"
1919 ldflags : " -Og -g -gsource-map=inline"
@@ -173,7 +173,7 @@ jobs:
173173 local max_retries=50
174174 local attempt=1
175175 while [ $attempt -le $max_retries ]; do
176- FORCE_COLOR=1 python test.py "$branch" | tee -a test.log
176+ FORCE_COLOR=1 OCP_WASM_INDEX_URL="$package_index_folder" python test.py "$branch" | tee -a test.log
177177 if grep -q "All tests passed successfully!" test.log; then
178178 echo "Tests finished successfully on attempt $attempt for build123d version $version"
179179 break
Original file line number Diff line number Diff line change 1- import micropip , asyncio
1+ import micropip , asyncio , os
22
33async def bootstrap ():
44 # If using the Pyodide JS API, you need to `loadPackage("micropip")` first.
55
66 # Prioritize the OCP.wasm package repository so that wasm-specific packages are preferred.
7- micropip .set_index_urls (["https://yeicor.github.io/OCP.wasm" , "https://pypi.org/simple" ])
7+ ocp_index = os .environ .get ("OCP_WASM_INDEX_URL" , "https://yeicor.github.io/OCP.wasm" )
8+ micropip .set_index_urls ([ocp_index , "https://pypi.org/simple" ])
89
910 # ONLY for build123d versions <0.10.0, we need to redirect the import of `py_lib3mf` to our ported `lib3mf` package.
1011 await micropip .install ("lib3mf" )
You can’t perform that action at this time.
0 commit comments