Skip to content

Commit ac17772

Browse files
committed
modify:vs copy file name
added:x86 release and debug test for msbuild.yml
1 parent db57a9b commit ac17772

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

.github/workflows/msbuild.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,32 @@ jobs:
5454
#编译
5555
- name: Build Solution
5656
run: msbuild XEngine_Source/XEngine.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }}
57+
58+
- name: Conditional Step for x86 Release
59+
if: matrix.configuration == 'Release' && matrix.platform == 'x86'
60+
run: |
61+
cp -r XEngine_Source/Release/*.dll XEngine_Release/
62+
cp -r XEngine_Source/Release/*.exe XEngine_Release/
63+
cp -r XEngine_Source/VSCopy_x86.bat XEngine_Release/
64+
cd XEngine_Release
65+
./VSCopy_x86.bat
66+
./XEngine_CenterApp -t
67+
./XEngine_Http2App -t
68+
./XEngine_HttpApp -t
69+
./XEngine_SimpleApp -t
70+
./XEngine_WebSocketApp -t
71+
shell: pwsh
72+
- name: Conditional Step for x86 Debug
73+
if: matrix.configuration == 'Debug' && matrix.platform == 'x86'
74+
run: |
75+
cp -r XEngine_Source/Debug/*.dll XEngine_Release/
76+
cp -r XEngine_Source/Debug/*.exe XEngine_Release/
77+
cp -r XEngine_Source/VSCopy_x86.bat XEngine_Release/
78+
cd XEngine_Release
79+
./VSCopy_x86.bat
80+
./XEngine_CenterApp -t
81+
./XEngine_Http2App -t
82+
./XEngine_HttpApp -t
83+
./XEngine_SimpleApp -t
84+
./XEngine_WebSocketApp -t
85+
shell: pwsh

0 commit comments

Comments
 (0)