diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1dc35bdb6..20aed3de0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,23 +35,23 @@ on: compiler-cxxflags: required: false type: string - default: '' + default: "" compiler-toolset-version: required: false type: string - default: '' + default: "" vs-path: required: false type: string - default: '' + default: "" cmake-config-additional-args: required: false type: string - default: '' + default: "" compiler-builder-additional-args: required: false type: string - default: '' + default: "" components: required: true type: string @@ -181,8 +181,15 @@ jobs: -S . - name: Build Tests + shell: bash run: | - cmake --build build --config ${{ inputs.build-type-name }} -j${{ env.IRIS_X4_BUILD_JOBS }} ${{ inputs.compiler-builder-additional-args }} + cmake --build build --config ${{ inputs.build-type-name }} -j${{ env.IRIS_X4_BUILD_JOBS }} ${{ inputs.compiler-builder-additional-args }} 2> >(tee stderr.log >&2) + + - name: Save compilation log + uses: actions/upload-artifact@v6 + with: + name: compilation_log_${{ github.run_id }}_${{ job.check_run_id }} + path: stderr.log - name: Test env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 977419dc0..6fcad0814 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,3 +153,19 @@ jobs: cmake-config-additional-args: ${{ matrix.compiler.cmake_config_additional_args }} compiler-builder-additional-args: ${{ matrix.compiler.builder_additional_args }} components: ${{ needs.changes.outputs.components }} + + run-notifier: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/download-artifact@v6 + - uses: iris-cpp/cpp-warning-notifier@v0.5.1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PRIVATE_KEY: ${{ secrets.CPPWARNINGNOTIFIER_PRIVATE_KEY }} + ARTIFACT_REGEX: compilation_log_(?\d+)_(?\d+) + STEP_REGEX: Build Tests + JOB_REGEX: '\[C\+\+(?\d+)\] (?.+) (?.+) \((?.+)\) / (?.+)' + ROW_HEADERS: '["component", "vendorName", "vendorVersion", "config"]' + COLUMN_HEADER: cppVersion