Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongyang219 committed Jul 2, 2024
2 parents 8591454 + 6b80bf7 commit 5ff8d22
Show file tree
Hide file tree
Showing 260 changed files with 16,649 additions and 17,432 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MusicPlayer2/MusicPlayer2.rc text working-tree-encoding=UTF-16LE-BOM eol=CRLF

scintilla/win32/ScintRes.rc text working-tree-encoding=UTF-16LE-BOM eol=CRLF
22 changes: 14 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Check Out
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
# 所有版本链接:https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-history
#- name: 下载 vs_enterprise.exe
# run: Invoke-WebRequest "https://aka.ms/vs/17/release/vs_enterprise.exe" -OutFile vs_enterprise.exe
Expand All @@ -24,30 +24,33 @@ jobs:
# "--add", "Microsoft.VisualStudio.Component.VC.ATLMFC", `
# "--add", "Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC"
- name: 设置 msbuild
uses: microsoft/setup-msbuild@v1.3.1
uses: microsoft/setup-msbuild@v2
- name: 编译
run: msbuild -t:Build '-p:Configuration=Release;platform=x64' -m:4
- name: 复制文件到 Release 文件夹
run: cp -R ./MusicPlayer2/language/ ./x64/Release/
- name: 上传文件
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: MusicPlayer2.x64
path: |
./x64/Release/*.exe
./x64/Release/*.dll
./x64/Release/language/
- name: 打包其他文件
run: |
cd x64/Release
7z a -mx9 '../../MusicPlayer2.x64.other.7z' '-x!*.exe' '-x!*.dll' './*'
- name: 上传其他文件
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: MusicPlayer2.x64.other
path: ./MusicPlayer2.x64.other.7z
build-x86:
runs-on: windows-latest
steps:
- name: Check Out
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
# 所有版本链接:https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-history
#- name: 下载 vs_enterprise.exe
# run: Invoke-WebRequest "https://aka.ms/vs/17/release/vs_enterprise.exe" -OutFile vs_enterprise.exe
Expand All @@ -64,22 +67,25 @@ jobs:
# "--add", "Microsoft.VisualStudio.Component.VC.ATLMFC", `
# "--add", "Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC"
- name: 设置 msbuild
uses: microsoft/setup-msbuild@v1.3.1
uses: microsoft/setup-msbuild@v2
- name: 编译
run: msbuild -t:Build '-p:Configuration=Release;platform=x86' -m:4
- name: 复制文件到 Release 文件夹
run: cp -R ./MusicPlayer2/language/ ./Release/
- name: 上传文件
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: MusicPlayer2.x86
path: |
./Release/*.exe
./Release/*.dll
./Release/language/
- name: 打包其他文件
run: |
cd Release
7z a -mx9 './../MusicPlayer2.x86.other.7z' '-x!*.exe' '-x!*.dll' './*'
- name: 上传其他文件
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: MusicPlayer2.x86.other
path: ./MusicPlayer2.x86.other.7z
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,4 @@ __pycache__/
*.sf2
/MusicPlayer2/compile_time.txt
/MusicPlayer2/skins/test.xml
!/MusicPlayer2/language/*.ini
Loading

0 comments on commit 5ff8d22

Please sign in to comment.