Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/docker-build-and-push-tools/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,21 @@ runs:
max-parallelism = ${{ inputs.max-parallelism }}
install: true

# TODO: temporarily disabled via `if: false`. Re-enable once cache saving is needed again.
- name: Cache ccache
uses: actions/cache@v4
if: false
with:
path: |
root-ccache
key: ccache-tools-${{ inputs.platform }}-${{ hashFiles('src/**/*.cpp') }}
restore-keys: |
ccache-tools-${{ inputs.platform }}-

# TODO: temporarily disabled via `if: false`. Re-enable once cache saving is needed again.
- name: Cache apt-get
uses: actions/cache@v4
if: false
with:
path: |
var-cache-apt
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/docker-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ runs:
vcs import --shallow --force src < ${{ inputs.additional-repos }}
shell: bash

# TODO: temporarily disabled via `&& false`. Re-enable once cache saving is needed again.
- name: Cache ccache
uses: actions/cache@v4
if: ${{ github.ref == 'refs/heads/main'}}
if: ${{ github.ref == 'refs/heads/main' && false }}
id: cache-ccache
with:
path: |
Expand All @@ -61,9 +62,10 @@ runs:
ccache-${{ inputs.platform }}-${{ inputs.cache-tag-suffix }}-
ccache-${{ inputs.platform }}-

# TODO: temporarily disabled via `&& false`. Re-enable once cache saving is needed again.
- name: Cache apt-get
uses: actions/cache@v4
if: ${{ github.ref == 'refs/heads/main'}}
if: ${{ github.ref == 'refs/heads/main' && false }}
id: cache-apt-get
with:
path: |
Expand Down
35 changes: 33 additions & 2 deletions .github/workflows/docker-build-and-push-new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,48 @@ jobs:
.github/workflows/docker-build-new.yaml
.github/workflows/docker-build-pipeline-new.yaml
.github/workflows/docker-build-and-push-new.yaml
.github/workflows/docker-manifest-new.yaml

humble:
humble-amd64:
needs: changed-files
if: needs.changed-files.outputs.should-build == 'true'
uses: ./.github/workflows/docker-build-pipeline-new.yaml
with:
ros-distro: humble
platform: amd64

jazzy:
humble-arm64:
needs: changed-files
if: needs.changed-files.outputs.should-build == 'true'
uses: ./.github/workflows/docker-build-pipeline-new.yaml
with:
ros-distro: humble
platform: arm64

humble-manifest:
needs: [humble-amd64, humble-arm64]
uses: ./.github/workflows/docker-manifest-new.yaml
with:
ros-distro: humble

jazzy-amd64:
needs: changed-files
if: needs.changed-files.outputs.should-build == 'true'
uses: ./.github/workflows/docker-build-pipeline-new.yaml
with:
ros-distro: jazzy
platform: amd64

jazzy-arm64:
needs: changed-files
if: needs.changed-files.outputs.should-build == 'true'
uses: ./.github/workflows/docker-build-pipeline-new.yaml
with:
ros-distro: jazzy
platform: arm64

jazzy-manifest:
needs: [jazzy-amd64, jazzy-arm64]
uses: ./.github/workflows/docker-manifest-new.yaml
with:
ros-distro: jazzy
Loading
Loading