Skip to content
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
8 changes: 5 additions & 3 deletions .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
fail-fast: false
matrix:
rosdistro: [humble, jazzy]
agnocast_enabled: [0, 1]
enable_agnocast: [0, 1]
exclude:
- rosdistro: jazzy
agnocast_enabled: 1 # Agnocast does not yet support Jazzy
enable_agnocast: 1 # Agnocast does not yet support Jazzy
env:
CCACHE_DIR: /root/.ccache
CC: /usr/lib/ccache/gcc
CXX: /usr/lib/ccache/g++
AGNOCAST_ENABLED: ${{ matrix.agnocast_enabled }}
ENABLE_AGNOCAST: ${{ matrix.enable_agnocast }}

steps:
- name: Check out repository
Expand Down Expand Up @@ -68,6 +68,8 @@ jobs:
id: test
if: steps.build.outcome == 'success'
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
env:
ENABLE_AGNOCAST: 0
with:
rosdistro: ${{ matrix.rosdistro }}
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
Expand Down
21 changes: 8 additions & 13 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
fail-fast: false
matrix:
rosdistro: [humble, jazzy]
agnocast_enabled: [0, 1]
enable_agnocast: [0, 1]
exclude:
- rosdistro: jazzy
agnocast_enabled: 1 # Agnocast does not yet support Jazzy
enable_agnocast: 1 # Agnocast does not yet support Jazzy
env:
CCACHE_DIR: /root/.ccache
CCACHE_SIZE: 1G # The GitHub cache action allows for 10G but the runners' disk space is limited
CC: /usr/lib/ccache/gcc
CXX: /usr/lib/ccache/g++
AGNOCAST_ENABLED: ${{ matrix.agnocast_enabled }}
ENABLE_AGNOCAST: ${{ matrix.enable_agnocast }}

steps:
- name: Check out repository
Expand All @@ -45,15 +45,8 @@ jobs:
id: get-self-packages
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1

- name: Install ccache
run: sudo apt-get update && sudo apt-get install -y ccache
shell: bash

- name: Create ccache directory
run: |
mkdir -p ${CCACHE_DIR}
du -sh ${CCACHE_DIR} && ccache -s
shell: bash
- run: ./.github/workflows/scripts/ensure-apt-up-to-date.sh
- run: ./.github/workflows/scripts/setup-ccache.sh

- name: Limit ccache size
run: |
Expand Down Expand Up @@ -98,13 +91,15 @@ jobs:
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
id: test
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
env:
ENABLE_AGNOCAST: 0
with:
rosdistro: ${{ matrix.rosdistro }}
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: build_depends-${{ matrix.rosdistro }}.repos

- name: Upload coverage to CodeCov
if: ${{ steps.test.outputs.coverage-report-files != '' && matrix.agnocast_enabled == 0 }}
if: ${{ steps.test.outputs.coverage-report-files != '' && matrix.enable_agnocast == 0 }}
uses: codecov/codecov-action@v4
with:
files: ${{ steps.test.outputs.coverage-report-files }}
Expand Down
1 change: 1 addition & 0 deletions src/nebula_hesai/nebula_hesai/src/decoder_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ HesaiDecoderWrapper::HesaiDecoderWrapper(
publish_diagnostic_(make_rate_bound_status(sensor_cfg_->rotation_speed, *parent_node)),
debug_publisher_(parent_node, "nebula")
{
// TEMP: ci trigger
if (!sensor_cfg_) {
throw std::runtime_error("HesaiDecoderWrapper cannot be instantiated without a valid config!");
}
Expand Down
Loading