Skip to content

Commit

Permalink
[temp] CI: stop after cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
eigendude committed Dec 2, 2023
1 parent f419040 commit 966cb75
Showing 1 changed file with 0 additions and 94 deletions.
94 changes: 0 additions & 94 deletions .github/workflows/ros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,40 +57,6 @@ jobs:
ros-ws/cmake/install
key: restore-cmake-${{ matrix.os }}-${{ hashFiles('oasis_tooling/scripts/*cmake.sh') }}

# Skip ROS 1 on ubuntu-18.04, ubuntu-20.04 and macbook
#- name: Restore ROS 1 Desktop
# id: restore-ros1-desktop
# if: matrix.os != 'ubuntu-18.04' && matrix.os != 'ubuntu-20.04' && matrix.os != 'macbook'
# uses: actions/cache@v2
# with:
# path: |
# ros-ws/ros1-desktop-${{ matrix.ros1_distro }}/install
# key: restore-ros1-desktop-${{ matrix.os }}-${{ matrix.ros1_distro }}-${{ hashFiles('oasis_tooling/scripts/*ros1_desktop.sh') }}

- name: Restore ROS 2 Desktop
id: restore-ros2-desktop
uses: actions/cache@v2
with:
path: |
ros-ws/ros2-desktop-${{ matrix.ros2_distro }}/install
key: restore-ros2-desktop-${{ matrix.os }}-${{ matrix.ros2_distro }}-${{ hashFiles('oasis_tooling/config/iceoryx/**', 'oasis_tooling/config/ros2_desktop/**', 'oasis_tooling/config/rviz/**', 'oasis_tooling/config/yaml_cpp_vendor/**', 'oasis_tooling/scripts/*ros2_desktop.sh') }}

- name: Restore OASIS dependencies
id: restore-oasis-depends
uses: actions/cache@v2
with:
path: |
ros-ws/oasis-depends-${{ matrix.ros2_distro }}/install
key: restore-oasis-depends-${{ matrix.os }}-${{ matrix.ros2_distro }}-${{ hashFiles('oasis_tooling/config/iceoryx/**', 'oasis_tooling/config/ros2_desktop/**', 'oasis_tooling/config/rviz/**', 'oasis_tooling/config/yaml_cpp_vendor/**', 'oasis_tooling/scripts/*ros2_desktop.sh') }}-${{ hashFiles('oasis_tooling/config/depends.repos', 'oasis_tooling/config/image_transport_plugins/**', 'oasis_tooling/config/libcec/**', 'oasis_tooling/config/libfreenect2/**', 'oasis_tooling/config/OpenNI/**', 'oasis_tooling/config/orb-slam3/**', 'oasis_tooling/config/p8-platform/**', 'oasis_tooling/config/pangolin/**', 'oasis_tooling/config/vision_opencv/**', 'oasis_tooling/scripts/*oasis_deps.sh') }}

- name: Restore Arduino IDE
id: restore-arduino-ide
uses: actions/cache@v2
with:
path: |
oasis_avr/arduino-*
key: restore-arduino-ide-${{ matrix.os }}-${{ hashFiles('oasis_avr/bootstrap.sh') }}

- name: Install system dependencies
if: matrix.os != 'starship' && matrix.os != 'cinder' && matrix.os != 'macbook'
run: |
Expand Down Expand Up @@ -130,63 +96,3 @@ jobs:
- name: Build CMake
if: matrix.os != 'macbook' && steps.restore-cmake.outputs.cache-hit != 'true'
run: ./oasis_tooling/scripts/build_cmake.sh

#- name: Install ROS 1 Desktop dependencies
# if: matrix.os != 'ubuntu-18.04' && matrix.os != 'ubuntu-20.04' && matrix.os != 'macbook' && steps.restore-ros1-desktop.outputs.cache-hit != 'true'
# run: ./oasis_tooling/scripts/depinstall_ros1_desktop.sh

#- name: Fix empy install for ROS 1
# if: matrix.os != 'ubuntu-18.04' && matrix.os != 'ubuntu-20.04' && matrix.os != 'macbook' && steps.restore-ros1-desktop.outputs.cache-hit != 'true'
# run: |
# sudo apt install -y python3-empy
# sudo ln -s -f /usr/bin/empy3 /usr/bin/empy

#- name: Fix missing Python 2 packages for ROS 1
# if: matrix.os != 'ubuntu-18.04' && matrix.os != 'ubuntu-20.04' && matrix.os != 'macbook' && steps.restore-ros1-desktop.outputs.cache-hit != 'true'
# run: |
# sudo apt install python2
# curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
# sudo python2 get-pip.py
# python2 -m pip install --upgrade catkin_pkg empy pip PyYAML setuptools

#- name: Build ROS 1 Desktop
# if: matrix.os != 'ubuntu-18.04' && matrix.os != 'ubuntu-20.04' && matrix.os != 'macbook' && steps.restore-ros1-desktop.outputs.cache-hit != 'true'
# run: ./oasis_tooling/scripts/build_ros1_desktop.sh

- name: Install ROS 2 Desktop dependencies
if: steps.restore-ros2-desktop.outputs.cache-hit != 'true'
run: ./oasis_tooling/scripts/depinstall_ros2_desktop.sh

- name: Build ROS 2 Desktop
if: steps.restore-ros2-desktop.outputs.cache-hit != 'true'
run: ./oasis_tooling/scripts/build_ros2_desktop.sh

- name: Install OASIS dependency rosdeps
if: steps.restore-oasis-depends.outputs.cache-hit != 'true'
run: ./oasis_tooling/scripts/depinstall_oasis_deps.sh

- name: Build OASIS dependencies
if: steps.restore-oasis-depends.outputs.cache-hit != 'true'
run: ./oasis_tooling/scripts/build_oasis_deps.sh

- name: Install OASIS rosdeps
run: ./oasis_tooling/scripts/depinstall_oasis.sh

- name: colcon build
run: ./oasis_tooling/scripts/build_oasis.sh

- name: Install OASIS files
run: ./oasis_tooling/scripts/install_oasis.sh

#- name: Upload Ardino hex to /dev/ttyACM0
# if: matrix.os == 'cinder'
# run: |
# ./oasis_avr/scripts/reset_leonardo.py /dev/ttyACM0
# sleep 2
# source oasis_tooling/scripts/env_ros2_desktop.sh && cmake --build "build/oasis_avr" --target upload -- TARGET=firmata_node SERIAL_PORT=/dev/ttyACM0
# sleep 2

#- name: Test Ardino
# if: matrix.os == 'cinder'
# run: |
# source install/setup.bash && ros2 run oasis_drivers_py firmata_test

0 comments on commit 966cb75

Please sign in to comment.