IPC & update issue templates & CI

This commit is contained in:
Aigio Liu
2023-03-24 11:40:41 +08:00
parent 4a4782cc0c
commit 52a9d6da9c
16 changed files with 376 additions and 23 deletions
+65
View File
@@ -0,0 +1,65 @@
---
name: "(English)Bug Report \U0001F41B"
about: Create a report to help us improve
title: "\U0001F41B[BUG] Please enter a title"
labels: bug
assignees: ''
---
## Please check each item in the following list carefully
- [ ] I have searched and found no similar issues
- [ ] Have searched the documentation and found no relevant content
- [ ] I have tried to use the latest version, but the problem still exists
- [ ] The official version is used (no replacement and modification of the installation directory program files)
<!--
Before posting, try searching Issues to see if your issue has already been raised.
Describe the bug in detail so that everyone can understand it, please be sure that what you are posting is a bug, if you are not sure, please post a Question
Don't forget to fill in the title, which should be a short description of the problem
-->
### 🐛 Description
<!--
Describe the problem in detail
-->
### 📷 Steps to Reproduce
<!--
Clearly describe the reproduction steps so that others can see the problem
Ensure that the above steps are 100% reproducible on most devices, if possible, to pinpoint the cause of the problem
-->
1.
2.
3.
### 📄 Log Information
<!--
```
- Path to the folder where the log files are located
- Microsoft Store ```%USERPROFILE%\AppData\Local\Packages\4651ED44255E.47979655102CE_k6txddmbb6c52\LocalCache\Logs```
- Windows ```\Logs``` or ```%Tmp%\Steam++\Logs```
- macOS ```~/Library/Caches/Steam++/Logs```
- Linux ```$XDG_CACHE_HOME/Steam++/Logs``` or ```$HOME/.cache/Steam++/Logs```
- Android ```/data/data/net.steampp.app/cache/Logs```
Your log content
```
-->
### 🖼 Screenshots
<!--
Screenshots can be posted here
-->
### 🚑 Other Information
- Processor architecture: <!-- x64 / x86 / arm64 -->
- System version number: <!-- example Windows 10.19042.844(see winver) / macOS Monterey 12 / Ubuntu 20.04.2 LTS -->
- Download channels: <!-- Microsoft Store / Official Website / Github / AppStore / xx netdisk -->
- Program version: <!-- 2.8.4 -->
- Does it contain a standalone runtime: <!-- with_runtime or without fde in the file name -->
+64
View File
@@ -0,0 +1,64 @@
---
name: "(Simplified Chinese)Bug Report \U0001F41B"
about: 创建 Bug 报告以帮助我们改进
title: "\U0001F41B[BUG] 请输入标题"
labels: bug
assignees: ''
---
## 请认真检查以下清单中的每一项
- [ ] 已经搜索过,没有发现类似的 issue
- [ ] 已经搜索过文档,没有发现相关内容
- [ ] 已经尝试使用过最新版,问题依旧存在
- [ ] 使用的是官方版本(未替换及修改过安装目录程序文件)
<!--
发布前请先尝试在 Issues 内搜索一下你的问题是否已经被提出过,
详细地描述 bug,让大家都能理解,请一定确定你所要发布的内容是一个 Bug,如果不确定请发 Question
别忘了填写标题,标题要简短的描述问题
-->
### 🐛 描述
<!--
详细的描述该问题
-->
### 📷 复现步骤
<!--
清晰描述复现步骤,让别人也能看到问题
确保上述步骤尽可能能够在大多数设备上 100% 复现,以便定位问题原因
-->
1.
2.
3.
### 📄 日志信息
<!--
```
- 日志文件所在文件夹路径
- Microsoft Store ```%USERPROFILE%\AppData\Local\Packages\4651ED44255E.47979655102CE_k6txddmbb6c52\LocalCache\Logs```
- Windows ```\Logs``` or ```%Tmp%\Steam++\Logs```
- macOS ```~/Library/Caches/Steam++/Logs```
- Linux ```$XDG_CACHE_HOME/Steam++/Logs``` or ```$HOME/.cache/Steam++/Logs```
- Android ```/data/data/net.steampp.app/cache/Logs```
你的日志内容
```
-->
### 🖼 截图
<!--
截图可以贴在这里
-->
### 🚑 其他信息
- 处理器体系结构:<!-- x64 / x86 / arm64 -->
- 系统版本号:<!-- example Windows 10.19042.844(see winver) / macOS Monterey 12 / Ubuntu 20.04.2 LTS -->
- 下载渠道:<!-- 微软商店 / 官网 / Github / AppStore / xx网盘 -->
- 程序版本:<!-- 2.8.4 -->
- 是否包含独立运行时:<!-- 文件名中带有 with_runtime 或 不包含 fde -->
+37
View File
@@ -0,0 +1,37 @@
---
name: "(English)Question \U0001F9D0"
about: Questions about using the program or need help
title: "\U0001F9D0[Question] Please enter a title"
labels: question
assignees: ''
---
## Please check each item in the following list carefully
- [ ] I have searched and found no similar issues
- [ ] Have searched the documentation and found no relevant content
- [ ] I have tried to use the latest version, but the problem still exists
- [ ] The official version is used (no replacement and modification of the installation directory program files)
<!--
Before posting, please try searching for your question in Issuse to see if it has already been asked.
Don't forget to fill in the title, which should be a short description of the Question
-->
### 🧐 Description
<!--
Describe the Question in detail so that everyone can understand it
-->
### 🚑 Other Information
<!--
Additional information such as screenshots can be posted here
-->
- Processor architecture: <!-- x64 / x86 / arm64 -->
- System version number: <!-- example Windows 10.19042.844(see winver) / macOS Monterey 12 / Ubuntu 20.04.2 LTS -->
- Download channels: <!-- Microsoft Store / Official Website / Github / AppStore / xx netdisk -->
- Program version: <!-- 2.8.4 -->
- Does it contain a standalone runtime: <!-- with_runtime or without fde in the file name -->
+37
View File
@@ -0,0 +1,37 @@
---
name: "(Simplified Chinese)Question \U0001F9D0"
about: 对程序使用的疑问或需要帮助
title: "\U0001F9D0[Question] 请输入标题"
labels: question
assignees: ''
---
## 请认真检查以下清单中的每一项
- [ ] 已经搜索过,没有发现类似的 issue
- [ ] 已经搜索过文档,没有发现相关内容
- [ ] 已经尝试使用过最新版,问题依旧存在
- [ ] 使用的是官方版本(未替换及修改过安装目录程序文件)
<!--
发布前请先尝试在 Issuse 内搜索一下你的 Question 是否已经被提出过,
别忘了填写标题,标题要简短的描述 Question
-->
### 🧐 问题描述
<!--
详细地描述 Question,让大家都能理解
-->
### 🚑 其他信息
<!--
如截图等其他信息可以贴在这里
-->
- 处理器体系结构:<!-- x64 / x86 / arm64 -->
- 系统版本号:<!-- example Windows 10.19042.844(see winver) / macOS Monterey 12 / Ubuntu 20.04.2 LTS -->
- 下载渠道:<!-- 微软商店 / 官网 / Github / AppStore / xx网盘 -->
- 程序版本:<!-- 2.8.4 -->
- 是否包含独立运行时:<!-- 文件名中带有 with_runtime 或 不包含 fde -->
+126
View File
@@ -0,0 +1,126 @@
name: CI
on:
push:
branches:
- main
tags:
- "*"
pull_request:
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
- name: Install Android SDK
run: dotnet workload install android
- name: Install iOS SDK
run: dotnet workload install ios
- name: Install macOS SDK
run: dotnet workload install macos
- name: Install Mac Catalyst SDK
run: dotnet workload install maccatalyst
- name: Install Maui
run: dotnet workload install maui
# - name: Install wasm-tools
# run: dotnet workload install wasm-tools
- name: Restore Workload
run: dotnet workload restore
- name: Verify dotnet info
run: dotnet --info
# - name: Test
# shell: pwsh
# run: dotnet test src/BD.Common.UnitTest/BD.Common.UnitTest.csproj -c Release -p:GeneratePackageOnBuild=false
build:
name: Build
needs: [ test ]
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
runs-on: windows-latest
strategy:
matrix:
ProjectName: [
BD.WTTS.Client.Avalonia.App,
]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
- name: Install Android SDK
run: dotnet workload install android
- name: Install iOS SDK
run: dotnet workload install ios
- name: Install macOS SDK
run: dotnet workload install macos
- name: Install Mac Catalyst SDK
run: dotnet workload install maccatalyst
- name: Install Maui
run: dotnet workload install maui
# - name: Install wasm-tools
# run: dotnet workload install wasm-tools
- name: Restore Workload
run: dotnet workload restore
- name: Verify dotnet info
run: dotnet --info
- name: Build
shell: pwsh
run: dotnet build -c Release src\${{ matrix.ProjectName }}\${{ matrix.ProjectName }}.csproj
# release:
# name: Release
# needs: build
# runs-on: ubuntu-latest
#
# steps:
# - name: Changelog
# uses: glennawatson/ChangeLog@v1
# id: changelog
#
# - name: Create Release
# uses: ncipollo/release-action@v1
# with:
# token: ${{ secrets.RMBADMIN_TOKEN }}
# body: ${{ steps.changelog.outputs.commitLog }}
# draft: false
# prerelease: false