Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加 CI/CD部分的 README 说明及英语文档 #151

Merged
merged 8 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/macos.yml'
jobs:
build:
name: CICD
name: macOS-CI-CD
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -37,8 +37,9 @@ jobs:
with:
version: ${{ matrix.qt_ver }}
cached: 'false'
#下面这几行不用也可以,删除不必要的控件能减少包体积
aqtversion: '==3.1.*'
# host: 'mac'
#下面这几行不用也可以,删除不必要的控件能减少包体积
# modules: 'qtnetworkauth'
# tools: 'tools_qtcreator'
- uses: actions/checkout@v2
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows CD/CD
name: Windows CI/CD
on:
# push代码时触发workflow
push:
Expand Down Expand Up @@ -34,6 +34,7 @@ jobs:
msvc_arch: x64
qt_arch_install: msvc2019_64
env:
targetName: PolyChat
# 在 Qt pro 文件中的
QtApplicationName: App.exe
# 步骤
Expand All @@ -49,9 +50,10 @@ jobs:
# target: ${{ matrix.qt_target }}
arch: ${{ matrix.qt_arch }}
cached: 'false'
# aqtversion: '==2.0.5'
aqtversion: '==3.1.*'
#下面这几行不用也可以,删除不必要的控件能减少包体积
# host: 'windows'
#下面这几行不用也可以,删除不必要的控件能减少包体积
# target: 'desktop'
# toolsOnly: 'true'
# modules: 'qtnetworkauth'
Expand Down Expand Up @@ -108,7 +110,7 @@ jobs:
# 上传artifacts
- uses: actions/upload-artifact@v2
with:
name: ${{ steps.package.outputs.packageName }}
name: ${{ env.targetName }}_${{ steps.package.outputs.packageName }}
path: ${{ steps.package.outputs.packageName }}
# tag 上传Release
- name: uploadRelease
Expand All @@ -117,6 +119,6 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.package.outputs.packageName }}.zip
asset_name: ${{ steps.package.outputs.packageName }}.zip
asset_name: ${{ env.targetName }}_${{ steps.package.outputs.packageName }}.zip
tag: ${{ github.ref }}
overwrite: true
2 changes: 1 addition & 1 deletion PolyChat.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ TEMPLATE = subdirs

SUBDIRS += \
App \
# Tester
Tester
479 changes: 403 additions & 76 deletions README.md

Large diffs are not rendered by default.

Loading
Loading