Skip to content

Commit

Permalink
github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcToussaint committed Jun 30, 2024
1 parent a117929 commit 19a09b0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ jobs:
python-version: '3.10'
- name: install ubuntu dependencies
run: |
sudo apt-get install libboost-system-dev libccd-dev
sudo apt-get install libboost-system-dev
APTGETYES=1 make -C rai -j1 installUbuntuAll
- name: install source dependencies
run: |
wget https://github.com/MarcToussaint/rai-extern/raw/main/install.sh; chmod a+x install.sh
./install.sh libccd
./install.sh fcl
- name: install python dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ wheels:
# _build_utils/run-docker.sh local/_build_utils/build-wheels.sh

wheels-upload:
twine upload dist/*.whl --repository robotic
twine upload dist/*.whl

wheels-install:
python$(PY_VER) -m pip install --user dist/robotic-*cp38*.whl --force-reinstall
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pip install jupyter nbconvert matplotlib ipympl
git clone https://github.com/MarcToussaint/rai-tutorials.git
cd rai-tutorials
make run -j1
``
```


## Installation from source with real Franka & realsense support
Expand All @@ -52,7 +52,7 @@ This assumes a standard Ubuntu 22.04 (or 20.04, 18.04) machine.

sudo apt install --yes \
g++ clang make gnupg cmake git wget \
liblapack-dev libf2c2-dev libqhull-dev libeigen3-dev libann-dev libccd-dev \
liblapack-dev libf2c2-dev libqhull-dev libeigen3-dev libann-dev \
libjsoncpp-dev libyaml-cpp-dev libhdf5-dev libpoco-dev libboost-system-dev portaudio19-dev libusb-1.0-0-dev \
libx11-dev libglu1-mesa-dev libglfw3-dev libglew-dev freeglut3-dev libpng-dev libassimp-dev \
python3-dev python3 python3-pip
Expand All @@ -67,6 +67,7 @@ This assumes a standard Ubuntu 22.04 (or 20.04, 18.04) machine.
To standardize installations, I use a basic script:

wget https://github.com/MarcToussaint/rai-extern/raw/main/install.sh; chmod a+x install.sh
./install.sh libccd
./install.sh fcl
./install.sh physx
./install.sh librealsense
Expand Down
2 changes: 1 addition & 1 deletion _build_utils/build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export PYTHONPATH=.
for ver in 10 11 7 8 9; do
echo -e "\n\n======== compiling (python version " $ver ") ========"
cmake -B build_wheel -DPY_VERSION=3.$ver .
make -C build_wheel rai _robotic meshTool --quiet
make -j8 -C build_wheel rai _robotic meshTool --quiet
if [ "$?" != 0 ]; then
echo "--- compile failed ---"
exit
Expand Down

0 comments on commit 19a09b0

Please sign in to comment.