From 75f0b12aff39c608b9709a13e18b3a29ae080c32 Mon Sep 17 00:00:00 2001 From: yaito3014 Date: Wed, 18 Feb 2026 06:16:06 +0900 Subject: [PATCH 1/6] Use cpp-warning-notifier --- .github/workflows/build.yml | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1dc35bdb6..75e60031c 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 @@ -182,10 +182,32 @@ jobs: - name: Build Tests 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: CLICOLOR_FORCE: 1 working-directory: ${{ github.workspace }}/build/test run: ctest --output-on-failure -C ${{ inputs.build-type-name }} + + 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.0 + 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: '["vendorName", "vendorVersion", "config"]' + COLUMN_HEADER: cppVersion From 6502c1ffbd1af7823e978058f9974261d0f4cff5 Mon Sep 17 00:00:00 2001 From: yaito3014 Date: Wed, 18 Feb 2026 06:21:10 +0900 Subject: [PATCH 2/6] Use bash and move job to main workflow --- .github/workflows/build.yml | 17 +---------------- .github/workflows/ci.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75e60031c..20aed3de0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -181,6 +181,7 @@ 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 }} 2> >(tee stderr.log >&2) @@ -195,19 +196,3 @@ jobs: CLICOLOR_FORCE: 1 working-directory: ${{ github.workspace }}/build/test run: ctest --output-on-failure -C ${{ inputs.build-type-name }} - - 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.0 - 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: '["vendorName", "vendorVersion", "config"]' - COLUMN_HEADER: cppVersion diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 977419dc0..a6d72218d 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.0 + 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: '["vendorName", "vendorVersion", "config"]' + COLUMN_HEADER: cppVersion From 7c21e163ed817fe9ffe78005886546e9b12aa83c Mon Sep 17 00:00:00 2001 From: yaito3014 Date: Wed, 18 Feb 2026 06:41:01 +0900 Subject: [PATCH 3/6] Fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6d72218d..41ecbbdbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,6 +166,6 @@ jobs: PRIVATE_KEY: ${{ secrets.CPPWARNINGNOTIFIER_PRIVATE_KEY }} ARTIFACT_REGEX: compilation_log_(?\d+)_(?\d+) STEP_REGEX: Build Tests - JOB_REGEX: '\[C\+\+\(?\d+)] (?.+) (?.+) \((?.+)\)' + JOB_REGEX: '\[C\+\+\(?\d+)\] (?.+) (?.+) \((?.+)\) / (?.+)' ROW_HEADERS: '["vendorName", "vendorVersion", "config"]' COLUMN_HEADER: cppVersion From 83af370b6fe602f52bb299ab281b6247745850b3 Mon Sep 17 00:00:00 2001 From: yaito3014 Date: Wed, 18 Feb 2026 07:02:02 +0900 Subject: [PATCH 4/6] Fix and drop some matrix entries --- .github/workflows/ci.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41ecbbdbb..0294466c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,22 +96,22 @@ jobs: version: 21 executable: clang++-21 cxxflags: -stdlib=libc++ -fcolor-diagnostics - - name: MSVC - toolset: msvc - version: 2022 - toolset_version: 14.44 - vs-path: C:\Program Files\Microsoft Visual Studio\2022\Enterprise - cmake_config_additional_args: -G "Visual Studio 17 2022" - builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" - executable: cl - - name: MSVC - toolset: msvc - version: 2026 - toolset_version: 14.50 - vs-path: C:\Program Files\Microsoft Visual Studio\18\Enterprise - cmake_config_additional_args: -G "Visual Studio 18 2026" - builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" - executable: cl +# - name: MSVC +# toolset: msvc +# version: 2022 +# toolset_version: 14.44 +# vs-path: C:\Program Files\Microsoft Visual Studio\2022\Enterprise +# cmake_config_additional_args: -G "Visual Studio 17 2022" +# builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" +# executable: cl +# - name: MSVC +# toolset: msvc +# version: 2026 +# toolset_version: 14.50 +# vs-path: C:\Program Files\Microsoft Visual Studio\18\Enterprise +# cmake_config_additional_args: -G "Visual Studio 18 2026" +# builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" +# executable: cl exclude: - os: @@ -166,6 +166,6 @@ jobs: PRIVATE_KEY: ${{ secrets.CPPWARNINGNOTIFIER_PRIVATE_KEY }} ARTIFACT_REGEX: compilation_log_(?\d+)_(?\d+) STEP_REGEX: Build Tests - JOB_REGEX: '\[C\+\+\(?\d+)\] (?.+) (?.+) \((?.+)\) / (?.+)' + JOB_REGEX: '\[C\+\+(?\d+)\] (?.+) (?.+) \((?.+)\) / (?.+)' ROW_HEADERS: '["vendorName", "vendorVersion", "config"]' COLUMN_HEADER: cppVersion From 6cdafec1c01a843d2fd6bbfb43fa59ceb7c6feef Mon Sep 17 00:00:00 2001 From: yaito3014 Date: Wed, 18 Feb 2026 07:23:58 +0900 Subject: [PATCH 5/6] Gen table component-wise, and restore matrix --- .github/workflows/ci.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0294466c7..1e27956c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,22 +96,22 @@ jobs: version: 21 executable: clang++-21 cxxflags: -stdlib=libc++ -fcolor-diagnostics -# - name: MSVC -# toolset: msvc -# version: 2022 -# toolset_version: 14.44 -# vs-path: C:\Program Files\Microsoft Visual Studio\2022\Enterprise -# cmake_config_additional_args: -G "Visual Studio 17 2022" -# builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" -# executable: cl -# - name: MSVC -# toolset: msvc -# version: 2026 -# toolset_version: 14.50 -# vs-path: C:\Program Files\Microsoft Visual Studio\18\Enterprise -# cmake_config_additional_args: -G "Visual Studio 18 2026" -# builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" -# executable: cl + - name: MSVC + toolset: msvc + version: 2022 + toolset_version: 14.44 + vs-path: C:\Program Files\Microsoft Visual Studio\2022\Enterprise + cmake_config_additional_args: -G "Visual Studio 17 2022" + builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" + executable: cl + - name: MSVC + toolset: msvc + version: 2026 + toolset_version: 14.50 + vs-path: C:\Program Files\Microsoft Visual Studio\18\Enterprise + cmake_config_additional_args: -G "Visual Studio 18 2026" + builder_additional_args: -- "-consoleLoggerParameters:ForceConsoleColor" + executable: cl exclude: - os: @@ -167,5 +167,5 @@ jobs: ARTIFACT_REGEX: compilation_log_(?\d+)_(?\d+) STEP_REGEX: Build Tests JOB_REGEX: '\[C\+\+(?\d+)\] (?.+) (?.+) \((?.+)\) / (?.+)' - ROW_HEADERS: '["vendorName", "vendorVersion", "config"]' + ROW_HEADERS: '["component", "vendorName", "vendorVersion", "config"]' COLUMN_HEADER: cppVersion From 15f2ee05c6289d2586f17967f2fa106eec94c588 Mon Sep 17 00:00:00 2001 From: yaito3014 Date: Wed, 18 Feb 2026 08:32:38 +0900 Subject: [PATCH 6/6] Bump version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e27956c8..6fcad0814 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,7 +160,7 @@ jobs: steps: - uses: actions/checkout@v6 - uses: actions/download-artifact@v6 - - uses: iris-cpp/cpp-warning-notifier@v0.5.0 + - uses: iris-cpp/cpp-warning-notifier@v0.5.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PRIVATE_KEY: ${{ secrets.CPPWARNINGNOTIFIER_PRIVATE_KEY }}