Skip to content

Commit 9e59b7a

Browse files
committed
Colcon build and source
1 parent a07f8a4 commit 9e59b7a

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
4343
- name: Run tests
4444
run: |
45-
cd /opt/ros/overlay_ws/src/semantic_world
46-
source ../semantic_world-venv/bin/activate
45+
source /opt/ros/overlay_ws/install/setup.bash
46+
source /opt/ros/overlay_ws/src/semantic_world-venv/bin/activate
4747
python -m pytest -v test/

docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ RUN python3 -m venv semantic_world-venv --system-site-packages && source semant
2020
RUN git clone https://github.com/Multiverse-Framework/Multiverse-Parser.git
2121
RUN source semantic_world-venv/bin/activate && pip install -r Multiverse-Parser/requirements.txt && pip install pyside6 pyopengl jinja2 && ./Multiverse-Parser/setup.sh --usd && pip install -e Multiverse-Parser
2222

23+
RUN source /opt/ros/jazzy/setup.bash && cd $OVERLAY_WS && colcon build --symlink-install
24+
RUN echo "source $OVERLAY_WS/install/setup.bash" >> ~/.bashrc
2325

2426
COPY entrypoint.sh /
2527
ENTRYPOINT ["bash", "/entrypoint.sh"]

docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
set -e
33

44
source /opt/ros/overlay_ws/install/setup.bash
5-
source /opt/ros/overlay_ws/src/semantic_world/semantic_world-venv/bin/activate
5+
source /opt/ros/overlay_ws/src/semantic_world-venv/bin/activate
66

77
exec "$@"

0 commit comments

Comments
 (0)