Skip to content

Commit 3c5be02

Browse files
committed
Add osqp-eigen
1 parent 59fdafc commit 3c5be02

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/scripts/build_roboplan_deps.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest \
2828
"gcc>=11,<12" "gxx>=11,<12" \
2929
"eigen>=3.4" \
3030
"pinocchio>=3.9.0,<4" \
31+
"osqp-eigen>=0.11.0,<0.12" \
3132
"yaml-cpp>=0.8"
3233

3334
CMAKE="$CONDA_ENV/bin/cmake"

.github/workflows/publish_wheels.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: Build and publish wheels
22

33
on:
4-
# Build (smoke-test) on pushes to main; build + publish on version tags.
4+
# Build (smoke-test) on pushes to main.
55
push:
6-
# branches: [main]
7-
# tags: ["v*"]
6+
# branches: [main] # TODO: Uncomment after testing
7+
# Build and publish when a GitHub release is published.
8+
release:
9+
types: [published]
810
# Manual trigger
911
workflow_dispatch:
1012

@@ -40,8 +42,8 @@ jobs:
4042
name: Publish to PyPI
4143
needs: build_wheels
4244
runs-on: ubuntu-22.04
43-
# Only publish on version tags.
44-
if: startsWith(github.ref, 'refs/tags/v')
45+
# Only publish when triggered by a release event.
46+
if: github.event_name == 'release'
4547
environment:
4648
name: pypi
4749
url: https://pypi.org/p/roboplan

0 commit comments

Comments
 (0)