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
-
check:passed streams:remove
難度 1/5 1 小時以內 新手友好度 67/100
維護者通常 1 天內回覆
-
bug priority-p1
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
-
beginner blocked
難度 2/5 1-3 小時 新手友好度 82/100
hiero-ledger/hiero-sdk-js#4670 ·
維護者通常 1 天內回覆
-
[Exploratory] Expense - 2 selected drop-down is shown twice when selecting hold from more option.未關閉Monthly Not a priority
難度 2/5 1-3 小時 新手友好度 65/100
Expensify/App#106080 · 1 則留言 ·
維護者通常 1 天內回覆