Skip to content

Commit

Permalink
Fix docker workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Tudela <[email protected]>
  • Loading branch information
ajtudela committed Oct 14, 2024
1 parent aa86d3f commit e1681c9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,23 @@ env:
jobs:
build:
runs-on: ubuntu-22.04
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
steps:
- name: Cache APT Packages
uses: awalsh128/[email protected]
with:
packages: g++ cmake subversion doxygen libxml2-dev libssl-dev libsqlite3-dev libboost-all-dev libogre-1.9-dev libsvn-dev libopencv-dev binutils-dev libiberty-dev libcurl4-gnutls-dev libprocps-dev libqwt-qt5-dev libqt5webkit5-dev libqwtmathml-qt5-dev libqt5opengl5-dev libqt5svg5-dev qt*5-dev qttools5-dev-tools git
- name: Checkout Repository
uses: actions/[email protected]
uses: actions/checkout@v4
- name: Cache ccache
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ runner.os }}-${{ github.sha }}-${{ github.run_id }}
restore-keys: |
ccache-${{ runner.os }}-${{ github.sha }}
ccache-${{ runner.os }}
- name: Install MIRA
run: |
curl -o mira-installer-binary.sh https://www.mira-project.org/downloads/mira-installer-binary.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
cancel-in-progress: true

jobs:
dsr-image:
docker-image:
runs-on: ubuntu-latest
steps:
- name: Extract branch name
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
uses: docker/[email protected]
with:
builder: ${{ steps.scitos2-builder.outputs.name }}
context: docker
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
![ROS2](https://img.shields.io/badge/ros2-humble-blue?logo=ros&logoColor=white)
![License](https://img.shields.io/github/license/grupo-avispa/scitos2)
[![Build](https://github.com/grupo-avispa/scitos2/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/grupo-avispa/scitos2/actions/workflows/build.yml)
[![Docker image](https://github.com/grupo-avispa/scitos2/actions/workflows/docker_image.yml/badge.svg?branch=main)](https://github.com/grupo-avispa/scitos2/actions/workflows/docker_image.yml)
[![codecov](https://codecov.io/gh/grupo-avispa/scitos2/graph/badge.svg?token=794XFYV0FK)](https://codecov.io/gh/grupo-avispa/scitos2)

## Overview
Expand Down

0 comments on commit e1681c9

Please sign in to comment.