mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-30 13:58:40 +00:00
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:
1 parent
4aa783b31f
commit
6d518bfaff
6 files changed
+73
-3
No files matched your search
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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: |
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user