Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(build-and-test*.yaml): use autoware:core-common-devel image #246

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .github/actions/build-and-test-differential/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ runs:
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
build-depends-repos: ${{ inputs.build-depends-repos }}
build-pre-command: ${{ inputs.build-pre-command }}
underlay-workspace: /opt/autoware

- name: Show ccache stats after build
run: du -sh ${CCACHE_DIR} && ccache -s
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test-daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build-and-test-daily:
runs-on: ubuntu-24.04
container: ghcr.io/autowarefoundation/autoware:core-devel
container: ghcr.io/autowarefoundation/autoware:core-common-devel
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -32,6 +32,7 @@ jobs:
rosdistro: humble
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: build_depends.repos
underlay-workspace: /opt/autoware

- name: Test
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
rosdistro: ${{ matrix.rosdistro }}
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
build-depends-repos: ${{ matrix.build-depends-repos }}
underlay-workspace: /opt/autoware

- name: Test
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
needs: require-label
if: ${{ needs.require-label.outputs.result == 'true' }}
runs-on: ubuntu-24.04
container: ghcr.io/autowarefoundation/autoware:core-devel
container: ghcr.io/autowarefoundation/autoware:core-common-devel
steps:
- name: Set PR fetch depth
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
Expand All @@ -48,7 +48,7 @@ jobs:
clang-tidy-differential:
needs: build-and-test-differential
runs-on: ubuntu-24.04
container: ghcr.io/autowarefoundation/autoware:core-devel
container: ghcr.io/autowarefoundation/autoware:core-common-devel
steps:
- name: Set PR fetch depth
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-and-test-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
rosdistro: ${{ matrix.rosdistro }}
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: ${{ matrix.build-depends-repos }}
underlay-workspace: /opt/autoware

- name: Test
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
build-and-test:
runs-on: ubuntu-24.04
container: ghcr.io/autowarefoundation/autoware:core-devel
container: ghcr.io/autowarefoundation/autoware:core-common-devel
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -72,6 +72,7 @@ jobs:
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: build_depends.repos
build-pre-command: taskset --cpu-list 0-6
underlay-workspace: /opt/autoware

- name: Show ccache stats after build
run: du -sh ${CCACHE_DIR} && ccache -s
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-build-depends.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ jobs:
rosdistro: ${{ matrix.rosdistro }}
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: ${{ matrix.build-depends-repos }}
underlay-workspace: /opt/autoware
Loading