Skip to content

ci(pre-commit): autoupdate (#14) #42

ci(pre-commit): autoupdate (#14)

ci(pre-commit): autoupdate (#14) #42

Workflow file for this run

name: build
on:
push:
workflow_dispatch:
jobs:
build:
if: ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }}
runs-on: ubuntu-latest
container: ${{ matrix.container }}
strategy:
fail-fast: false
matrix:
rosdistro:
- humble
include:
- rosdistro: humble
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Remove exec_depend
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
- name: Get self packages
id: get-self-packages
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
- name: Build
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
with:
rosdistro: ${{ matrix.rosdistro }}
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: ${{ matrix.build-depends-repos }}