Combine generic target args using a single line #7
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
name: test-builder-with-cache | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
paths: | |
- .github/workflows/test-builder-with-cache.yml # Self-trigger | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-package-with-cache: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/bounverif/autoware:latest-builder-with-cache | |
strategy: | |
fail-fast: false | |
matrix: | |
package: | |
- autoware_tensorrt_yolox | |
- autoware_launch | |
steps: | |
- name: Checkout Autoware repository | |
uses: actions/checkout@v4 | |
with: | |
repository: 'autowarefoundation/autoware' | |
- name: Build up to ${{ matrix.package }} | |
run: | | |
mkdir -p src | |
export CCACHE_BASEDIR=${PWD} | |
vcs import src --shallow --input autoware.repos | |
. /opt/ros/humble/setup.sh | |
ccache --zero-stats | |
colcon build --packages-up-to ${{ matrix.package }} --cmake-args -DCMAKE_BUILD_TYPE=Release | |
ccache -v --show-stats |