Integrate GitHub Actions Logging (problem matchers)
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake, github-actions, python, typescript
调研方向
先从所引用的 src/gcc/gcc.ts 和 src/gcc/gcc_matcher.json 示例开始,然后检查 package.json 中的 matcher-copy 脚本。检查尚未勾选的 cmake、meson、ld、ninja 和 task 用例及其示例输出。完成标准是为剩余工具添加 problem matchers,并确保它们包含在分发的 action 中。
由索引模型根据 Issue 内容生成。
描述
https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md
- clang #36
example:
ThinLTO: CMakeFiles/main.dir/Release/src/main/main.cpp.o0: error: Invalid record
LLVM ERROR: Can't load module, abort.
clang-14: error: unable to execute command: Abort trap: 6
clang-14: error: linker command failed due to signal (use -v to see invocation)
- gcc #35
- msvc #35
- clang-tidy #36
- cppcheck https://github.com/cpp-best-practices/project_options/pull/66
- cmake
example:
CMake Warning at /Users/runner/work/project_options/project_options/src/Cache.cmake:33 (message):
ccache is enabled but was not found. Not using it
Call Stack (most recent call first):
/Users/runner/work/project_options/project_options/src/Index.cmake:145 (enable_cache)
CMakeLists.txt:31 (project_options)
- meson
- ld
example:
ld: warning: dylib (/Users/runner/hostedtoolcache/llvm/14.0.0/x64/lib/libc++.dylib) was built for newer macOS version (11.6) than being linked (11.0)
- python #35
- ninja:
ninja: build stopped: subcommand failed.
- task:
task: Failed to run task "test_release": exit status 1
How to contribute:
Here is an example for GCC:
https://github.com/aminya/setup-cpp/blob/016b16a6b80fc35bd539850d0123841d8f3fca36/src/gcc/gcc.ts#L120-L131
The matcher file has a regex for matching the errors/warnings of the tool (escape " and \ in regex).
https://github.com/aminya/setup-cpp/blob/master/src/gcc/gcc_matcher.json
Script for copying the matcher to dist
https://github.com/aminya/setup-cpp/blob/016b16a6b80fc35bd539850d0123841d8f3fca36/package.json#L19
- 主要语言
- TypeScript
- 星标
- 277
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aminya/setup-cpp 的其他 Issue
-
enhancement more-information-needed
难度 2/5 1-3 小时 新手友好度 35/100
-
Brew LLVM OpenMP可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 15/100
-
难度 5/5 一周以上 新手友好度 25/100
-
Add linker tools未关闭enhancement
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info only未关闭enhancement from-x
难度 2/5 1-3 小时 新手友好度 66/100
nightly-labs/openbot#4867 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
egonSchiele/agency-lang#1377 ·
维护者通常 1 天内回复
-
normalizePath removes the Windows device namespace prefix可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
caprover/caprover-frontend#273 ·
维护者通常 1 天内回复