File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,16 @@ jobs:
165165
166166 run : bash .github/scripts/python_wheels/build_wheels.sh
167167
168+ - name : Test wheel
169+ run : |
170+ python3 -m pip install wheelhouse/*.whl
171+ python3 -c "import platform; print(platform.machine()); import gtsam"
172+ if [ "$RUNNER_OS" == "macOS" ]; then
173+ arch -x86_64 python3 -m pip uninstall -y numpy
174+ arch -x86_64 python3 -m pip install wheelhouse/*.whl
175+ arch -x86_64 python3 -c "import platform; print(platform.machine()); import gtsam;"
176+ fi
177+
168178 - name : Store artifacts
169179 uses : actions/upload-artifact@v4
170180 with :
Original file line number Diff line number Diff line change @@ -145,6 +145,16 @@ jobs:
145145
146146 run : bash .github/scripts/python_wheels/build_wheels.sh
147147
148+ - name : Test wheel
149+ run : |
150+ python3 -m pip install wheelhouse/*.whl
151+ python3 -c "import platform; print(platform.machine()); import gtsam"
152+ if [ "$RUNNER_OS" == "macOS" ]; then
153+ arch -x86_64 python3 -m pip uninstall -y numpy
154+ arch -x86_64 python3 -m pip install wheelhouse/*.whl
155+ arch -x86_64 python3 -c "import platform; print(platform.machine()); import gtsam;"
156+ fi
157+
148158 - name : Store artifacts
149159 uses : actions/upload-artifact@v4
150160 with :
You can’t perform that action at this time.
0 commit comments