forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: support multi distro CI Signed-off-by: Kenji Miyake <[email protected]> * add build_depends.humble.repos Signed-off-by: Kenji Miyake <[email protected]> * update build_depends.humble.repos Signed-off-by: Kenji Miyake <[email protected]> * update other workflows Signed-off-by: Kenji Miyake <[email protected]>
- Loading branch information
1 parent
4e52f8c
commit d1a158c
Showing
5 changed files
with
107 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,20 @@ on: | |
jobs: | ||
build-and-test-differential: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/autowarefoundation/autoware-universe:galactic-latest-cuda | ||
container: ${{ matrix.container }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rosdistro: | ||
- galactic | ||
- humble | ||
include: | ||
- rosdistro: galactic | ||
container: ghcr.io/autowarefoundation/autoware-universe:galactic-latest-cuda | ||
build-depends-repos: build_depends.repos | ||
- rosdistro: humble | ||
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest-cuda | ||
build-depends-repos: build_depends.humble.repos | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
|
@@ -27,18 +40,18 @@ jobs: | |
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }} | ||
uses: autowarefoundation/autoware-github-actions/colcon-build@v1 | ||
with: | ||
rosdistro: galactic | ||
rosdistro: ${{ matrix.rosdistro }} | ||
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }} | ||
build-depends-repos: build_depends.repos | ||
build-depends-repos: ${{ matrix.build-depends-repos }} | ||
|
||
- name: Test | ||
id: test | ||
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }} | ||
uses: autowarefoundation/autoware-github-actions/colcon-test@v1 | ||
with: | ||
rosdistro: galactic | ||
rosdistro: ${{ matrix.rosdistro }} | ||
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }} | ||
build-depends-repos: build_depends.repos | ||
build-depends-repos: ${{ matrix.build-depends-repos }} | ||
|
||
- name: Upload coverage to CodeCov | ||
if: ${{ steps.test.outputs.coverage-report-files != '' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
repositories: | ||
# core | ||
core/autoware_msgs: | ||
type: git | ||
url: https://github.com/tier4/autoware_auto_msgs.git # TODO(Tier IV): Move to autowarefoundation/autoware_msgs | ||
version: tier4/main | ||
core/common: | ||
type: git | ||
url: https://github.com/autowarefoundation/autoware_common.git | ||
version: main | ||
core/autoware: | ||
type: git | ||
url: https://github.com/autowarefoundation/autoware.core.git | ||
version: main | ||
# universe | ||
universe/tier4_autoware_msgs: | ||
type: git | ||
url: https://github.com/tier4/AutowareArchitectureProposal_msgs.git # TODO(Tier IV): Rename to tier4/tier4_autoware_msgs | ||
version: tier4/universe | ||
universe/vendor/grid_map: | ||
type: git | ||
url: https://github.com/tier4/grid_map.git | ||
version: prepare/humble | ||
universe/vendor/navigation2: | ||
type: git | ||
url: https://github.com/tier4/navigation2.git | ||
version: prepare/humble | ||
universe/vendor/mussp: | ||
type: git | ||
url: https://github.com/tier4/muSSP.git | ||
version: tier4/main | ||
universe/vendor/ndt_omp: | ||
type: git | ||
url: https://github.com/tier4/ndt_omp.git | ||
version: tier4/main |