Skip to content

Commit

Permalink
[ALL] add ISSUE_TEMPLATE & auto build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-tz committed Feb 28, 2024
1 parent 8ce552e commit df6620c
Show file tree
Hide file tree
Showing 7 changed files with 114 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/01_bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug Report / 错误报告
about: Create a bug report to illustrate the problems. / 创建一个错误报告来描述遇到的问题。
title: ''
labels: 'bug'
assignees: ''

---

**Describe the Issue / 描述问题**
A clear and concise description of what the bug is.
请清晰并简洁地描述你遇到的错误是什么。

**Your Environment / 你的设备环境**

- OS Version / 操作系统版本: [e.g. Ubuntu20.04.1 LTS Linux 5.4.0-53-generic]
- Compiler / 编译器: [e.g. gcc 7.5.0]


**To Reproduce / 如何复现**
Tell us how to reproduce this issue.
告诉我们如何复现这个问题。
Ex. Steps to reproduce the behavior:
例如,复现行为的步骤:
- 1. Go to '...' / 前往 '...'
- 2. Click on '....' / 点击 '....'
- 3. Scroll down to '....' / 滚动到 '....'
- 4. See error / 查看错误

If applicable, add screenshots to help explain your problem.
如果可以的话,添加截图来辅助解释你的问题。

**Expected behavior / 预期行为**
Tell us what should happen
告诉我们你认为本来应该发生什么
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/02_feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Feature request / 功能需求
about: Suggest an idea for this project / 为这个项目提出一个想法
title: ''
labels: 'features'
assignees: ''

---

**Is your feature request related to a problem? Please describe. / 您的功能请求是否与某个问题相关?请描述。**
A clear and concise description of what the problem is.
Ex. I'm always frustrated when [...]
请清晰简洁地描述问题是什么。
例如,当[...]时,我总是感到不爽。

**Describe the solution you'd like / 描述您希望的解决方案**
A clear and concise description of what you want to happen.
请清晰简洁地描述您希望发生什么。

**Describe alternatives you've considered / 描述您考虑过的替代方案**
A clear and concise description of any alternative solutions or features you've considered.
Ex. In other projects like [...], it has some features like [...].
请清晰简洁地描述您考虑过的任何替代解决方案或功能。
例如,在像[...]的其他项目中,它具有像[...]的一些功能。

**Additional context/补充材料**
Add any other context or screenshots about the feature request here.
在此处添加关于功能需求的任何其他补充材料或截图。
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
28 changes: 28 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

## Types of changes

What types of changes does your code introduce to Appium?
_Put an `x` in the boxes that apply_

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)

## Checklist

_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._

- [ ] I have read the [CONTRIBUTING] doc
- [ ] Lint and unit tests pass locally with my changes
- [ ] I have added annotation in every module or function of my work
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation like README.md (if appropriate)
- [ ] Any dependent changes have been merged and published in downstream modules

## Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
20 changes: 20 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build
run-name: CMake build test 🚀 - ${{ github.actor }}
on:
push:
jobs:
build-project:
name: Build Project
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]

- name: Install Deps
run: sudo apt-get install -y cmake build-essential libgl1-mesa-dev libode-dev qtbase5-dev qtdeclarative5-dev libqt5serialport5-dev libtolua++5.1-dev libeigen3-dev protobuf-compiler libprotobuf-dev qml-module-qtquick* qml-module-qtgamepad libfmt-dev

- name: Configure Project
uses: threeal/[email protected]

- name: Build Project
run: cmake --build build
2 changes: 1 addition & 1 deletion doc/posts/1_rocos_basic/1_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# 从远程仓库拉取最新的dev分支
git fetch origin dev
# 切换到dev分支
git checkout dev
git switch dev
```
````
```{warning}
Expand Down
2 changes: 1 addition & 1 deletion doc/posts/1_rocos_basic/1_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
* Boolean(布尔类型的参数会自动变成勾选)


```{warning}
```{tip}
☛ **在修改参数的时候,记得按`Enter`键 使修改生效**
```

Expand Down

0 comments on commit df6620c

Please sign in to comment.