Skip to content

Commit bc4f3bb

Browse files
committed
update build script for py313
1 parent 886e779 commit bc4f3bb

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
contents: write
1515
container:
16-
image: fxiangucsd/sapien-build-env:3.3
16+
image: fxiangucsd/sapien-build-env:3.4
1717
env:
1818
CMAKE_BUILD_PARALLEL_LEVEL: 2
1919
steps:
@@ -77,7 +77,7 @@ jobs:
7777
needs: build-windows-sapien
7878
strategy:
7979
matrix:
80-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
80+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
8181
steps:
8282
- name: Checkout
8383
uses: actions/checkout@v4
@@ -111,11 +111,6 @@ jobs:
111111
permissions:
112112
contents: write
113113
steps:
114-
- name: Download wheels
115-
uses: actions/download-artifact@v4
116-
with:
117-
name: windows-wheel-3.8
118-
path: wheelhouse
119114
- name: Download wheels
120115
uses: actions/download-artifact@v4
121116
with:
@@ -136,6 +131,11 @@ jobs:
136131
with:
137132
name: windows-wheel-3.12
138133
path: wheelhouse
134+
- name: Download wheels
135+
uses: actions/download-artifact@v4
136+
with:
137+
name: windows-wheel-3.13
138+
path: wheelhouse
139139
- name: Download wheels
140140
uses: actions/download-artifact@v3
141141
with:

build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ while [[ "$#" -gt 0 ]]; do
1515
310) VERSION="310";;
1616
311) VERSION="311";;
1717
312) VERSION="312";;
18+
313) VERSION="313";;
1819
esac
1920
shift
2021
done
@@ -59,6 +60,9 @@ function build_pybind() {
5960
elif [ "$PY_VERSION" -eq 312 ]; then
6061
PY_DOT=3.12
6162
EXT=""
63+
elif [ "$PY_VERSION" -eq 313 ]; then
64+
PY_DOT=3.13
65+
EXT=""
6266
else
6367
echo "Error, python version not found!"
6468
fi
@@ -80,11 +84,11 @@ function build_pybind() {
8084
build_sapien
8185
if [ -z "${VERSION}" ]
8286
then
83-
build_pybind 38
8487
build_pybind 39
8588
build_pybind 310
8689
build_pybind 311
8790
build_pybind 312
91+
build_pybind 313
8892
else
8993
build_pybind $VERSION
9094
fi

docker_build_wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
docker run -v `pwd`:/workspace/SAPIEN -it --rm \
44
-u $(id -u ${USER}):$(id -g ${USER}) \
5-
fxiangucsd/sapien-build-env:3.3 bash -c \
5+
fxiangucsd/sapien-build-env:3.4 bash -c \
66
"export CMAKE_BUILD_PARALLEL_LEVEL=${CMAKE_BUILD_PARALLEL_LEVEL} && cd /workspace/SAPIEN && ./build.sh $1 --profile"

0 commit comments

Comments
 (0)