chore(ci): report on problems from msvc in ci (#1103)

* ci: report on problems from msvc in ci

* chore: ignore warnings in eigen header
This commit is contained in:
Jan Laupetin authored and GitHub committed 2026-11-23 20:00:35 +01:00
1 parent 4aa783b31f
commit 6d518bfaff
6 files changed
+73 -3

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
{
"__comment": "Taken from https://gitlab.com/freecad/FreeCAD",
"problemMatcher": [
{
"owner": "clang",
"pattern": [
{
"regexp": "^(.+):([0-9]+):([0-9]+): (error|warning|note): (.+)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
]
}
+18
View File
@@ -0,0 +1,18 @@
{
"__comment": "Taken from https://gitlab.com/freecad/FreeCAD",
"problemMatcher": [
{
"owner": "gcc-problem-matcher",
"pattern": [
{
"regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
]
}
+19
View File
@@ -0,0 +1,19 @@
{
"__comment": "Taken from https://gitlab.com/freecad/FreeCAD",
"problemMatcher": [
{
"owner": "msvc-problem-matcher",
"pattern": [
{
"regexp": "/^\\s*(?:\\s*\\d+>)?(\\S.*?)(?:\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\))?\\s*:\\s+(?:(\\S+)\\s+)?((?:fatal +)?error|warning|info)\\s+(\\w+\\d+)?\\s*:\\s*(.*)$/",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"code": 5,
"message": 6
}
]
}
]
}
+9 -3
View File
@@ -17,8 +17,8 @@ jobs:
build-test-linux:
strategy:
matrix:
build_arch: [ x86, x64 ]
toolset: [ gcc, clang ]
build_arch: [x86, x64]
toolset: [gcc, clang]
include:
- build_arch: x86
gtk_packages: libgtk-4-dev:i386 libwebkitgtk-6.0-dev:i386
@@ -80,6 +80,9 @@ jobs:
npm install
npm run build
- name: Set up problem matching
run: echo "::add-matcher::${{ github.workspace }}/.github/problem-matcher/${{ matrix.toolset }}.json"
- name: Build
working-directory: ${{ github.workspace }}
run: |
@@ -112,7 +115,7 @@ jobs:
build-test-windows:
strategy:
matrix:
build_arch: [ x86, x64 ]
build_arch: [x86, x64]
include:
- build_arch: x86
msbuild_config: Win32
@@ -178,6 +181,9 @@ jobs:
npm install
npm run build
- name: Set up problem matching
run: echo "::add-matcher::${{ github.workspace }}/.github/problem-matcher/msvc.json"
- name: Build
working-directory: ${{ github.workspace }}
run: |
+6
View File
@@ -38,6 +38,9 @@ jobs:
PREMAKE_NO_PROMPT: 1
run: ./generate.sh --cc=gcc --oat-version=${{ github.ref_name }}
- name: Set up problem matching
run: echo "::add-matcher::${{ github.workspace }}/.github/problem-matcher/gcc.json"
- name: Build
working-directory: ${{ github.workspace }}
run: |
@@ -70,6 +73,9 @@ jobs:
PREMAKE_NO_PROMPT: 1
run: ./generate.bat --oat-version=${{ github.ref_name }}
- name: Set up problem matching
run: echo "::add-matcher::${{ github.workspace }}/.github/problem-matcher/msvc.json"
- name: Build
working-directory: ${{ github.workspace }}
run: msbuild /m /p:Configuration=Release /p:Platform=Win32 build
@@ -1,6 +1,9 @@
#pragma once
#pragma warning(push, 0)
#include <Eigen>
#pragma warning(pop)
#include <array>
#include <cstdint>
#include <memory>