Skip to content

Commit

Permalink
Update build_ariac.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybrecht authored Jan 29, 2024
1 parent 1fe48f2 commit 0d5b833
Showing 1 changed file with 30 additions and 32 deletions.
62 changes: 30 additions & 32 deletions .github/workflows/build_ariac.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
# name: ARIAC Build
name: ARIAC Build

# on:
# push:
# paths: ["ariac_description/**","ariac_gazebo/**","ariac_gui/**","ariac_human/**","ariac_moveit_config/**","ariac_msgs/**","ariac_plugins/**","ariac_sensors/**","test_competitor/**"]
# pull_request:
# pull_request_review:
on:
push:
pull_request:

# jobs:
# build:
# runs-on: ubuntu-latest
# container:
# image: osrf/ros:galactic-desktop
# steps:
# - uses: actions/checkout@v2
# - name: Setup colcon workspace
# id: configure
# run: |
# cd ..
# mkdir -p /home/ariac_ws/src
# cp -r ARIAC /home/ariac_ws/src/
# apt-get update && apt-get upgrade -q -y
# apt-get update && apt-get install -q -y --no-install-recommends \
# python3-colcon-ros
# cd /home/ariac_ws/src/
# rosdep update --include-eol-distros
# rosdep install --from-paths ./ -i -y --rosdistro galactic \
# --ignore-src
# - name: Build project
# id: build
# run: |
# cd /home/ariac_ws/
# . /opt/ros/galactic/local_setup.sh
# colcon build
jobs:
build:
runs-on: ubuntu-latest
container:
image: osrf/ros:iron-desktop
steps:
- uses: actions/checkout@v2
- name: Setup colcon workspace
id: configure
run: |
cd ..
mkdir -p /home/ariac_ws/src
cp -r ARIAC /home/ariac_ws/src/
apt-get update && apt-get upgrade -q -y
apt-get update && apt-get install -q -y --no-install-recommends \
python3-colcon-ros
cd /home/ariac_ws/src/
rosdep update
rosdep install --from-paths ./ -i -y --rosdistro iron \
--ignore-src
- name: Build project
id: build
run: |
cd /home/ariac_ws/
. /opt/ros/iron/local_setup.sh
colcon build

0 comments on commit 0d5b833

Please sign in to comment.