diff --git a/.github/workflows/build-and-test-differential.yaml b/.github/workflows/build-and-test-differential.yaml index bfee62fdd..ce4af8d45 100644 --- a/.github/workflows/build-and-test-differential.yaml +++ b/.github/workflows/build-and-test-differential.yaml @@ -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 @@ -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 }} diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 55295fb55..07416f518 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -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 @@ -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: | @@ -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 }} diff --git a/src/nebula_hesai/nebula_hesai/src/decoder_wrapper.cpp b/src/nebula_hesai/nebula_hesai/src/decoder_wrapper.cpp index 3382e07c6..ff9c6b6a2 100644 --- a/src/nebula_hesai/nebula_hesai/src/decoder_wrapper.cpp +++ b/src/nebula_hesai/nebula_hesai/src/decoder_wrapper.cpp @@ -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!"); }