Skip to content

Commit

Permalink
[CI] run modules ci only on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Apr 27, 2023
1 parent c99f893 commit 6f3eaf2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
cd ~/ros_ws/src
cp -r /builds/$GITLAB_USER_LOGIN/overworld .
git clone -b dev https://github.com/sarthou/ontologenius.git
git clone https://github.com/ros/ros_tutorials.git
cd ..
catkin_make -DCMAKE_BUILD_TYPE=Release

Expand Down Expand Up @@ -77,6 +76,10 @@ run-build-noetic:
run-build-modules-melodic:
image: ros:melodic-perception-bionic
stage: build_modules
rules:
- if: '$CI_COMMIT_BRANCH == "dev"'
when: always
- when: never
<<: *melodic_before_definition
script:
- *install_bullet
Expand All @@ -88,6 +91,10 @@ run-build-modules-melodic:
run-build-modules-noetic:
image: ros:noetic-perception-focal
stage: build_modules
rules:
- if: '$CI_COMMIT_BRANCH == "dev"'
when: always
- when: never
<<: *noetic_before_definition
script:
- *install_bullet
Expand Down

0 comments on commit 6f3eaf2

Please sign in to comment.