Skip to content

Commit 8ebbb31

Browse files
committed
update:depend library
1 parent 786dedd commit 8ebbb31

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/msbuild.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ jobs:
7070
echo "XENGINE_LIB32=${{ github.workspace }}/libxengine/XEngine_Windows/x86" | Out-File -FilePath $env:GITHUB_ENV -Append
7171
echo "XENGINE_LIB64=${{ github.workspace }}/libxengine/XEngine_Windows/x64" | Out-File -FilePath $env:GITHUB_ENV -Append
7272
shell: pwsh
73+
- name: Set code page
74+
run: chcp 65001
7375

7476
# 配置 MSBuild 的路径,准备构建 VC++ 项目
7577
- name: Setup MSBuild
7678
uses: microsoft/setup-msbuild@v2
7779
#编译
7880
- name: Build Solution
79-
run: msbuild XEngine_Source/XEngine.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }}
81+
run: msbuild XEngine_Source/XEngine.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} /p:AdditionalOptions="/utf-8"
8082
#测试
8183
- name: Conditional Step for x86 Release
8284
if: matrix.configuration == 'Release' && matrix.platform == 'x86'

0 commit comments

Comments
 (0)