Skip to content

ci(build-and-test): build this repository in core-dependencies-cuda #14

ci(build-and-test): build this repository in core-dependencies-cuda

ci(build-and-test): build this repository in core-dependencies-cuda #14

name: build-and-test-pr
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
require-label:
uses: autowarefoundation/autoware-github-actions/.github/workflows/require-label.yaml@v1
with:
label: run:build-and-test-differential
build-and-test:
needs: require-label
if: ${{ needs.require-label.outputs.result == 'true' }}
strategy:
fail-fast: false
matrix:
rosdistro: [humble, jazzy]
above: [false, true]
uses: ./.github/workflows/build-and-test-reusable.yaml
with:
rosdistro: ${{ matrix.rosdistro }}
container: ghcr.io/autowarefoundation/autoware:${{ matrix.above && 'universe' || 'core' }}-dependencies-cuda-${{ matrix.rosdistro }}
above: ${{ matrix.above }}