Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Tudela <ajtudela@gmail.com>
  • Loading branch information
ajtudela committed Oct 17, 2024
1 parent 147a62d commit b9fe6d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,16 @@ jobs:
packages: libprocps-dev
- name: Checkout Repository
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}
key: scitos2-${{ runner.os }}-${{ github.sha }}-${{ github.run_id }}
restore-keys: |
scitos2-${{ runner.os }}-${{ github.sha }}
scitos2-${{ runner.os }}
- name: Setup ROS 2
uses: ros-tooling/setup-ros@0.7.5
with:
required-ros-distributions: humble
# - name: Restore MIRA cache
# id: restore-cache-mira
# uses: actions/cache@v4
# with:
# path: ${{ env.MIRA_PATH }}
# key: mira-${{ runner.os }}-ubuntu-22.04
# - name: Check ls
# run: ls -la ${{ github.workspace }}
- name: Restore MIRA cache
id: restore-cache-mira
uses: actions/cache@v4
with:
path: ${{ env.MIRA_PATH }}
key: mira-${{ runner.os }}-ubuntu-22.04
- name: Build packages
env:
MIRA_PATH: ${{ env.MIRA_PATH }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN apt update && apt install --no-install-recommends -y \
ros-dev-tools \
python3-vcstool \
python3-colcon-clean \
ros-$ROS_DISTRO-rmw-cyclonedds-cpp
ros-$ROS_DISTRO-rmw-cyclonedds-cpp
RUN vcs import src < src/scitos2/.github/dependencies.repos
RUN rosdep init && rosdep update
RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
Expand Down

0 comments on commit b9fe6d5

Please sign in to comment.