Skip to content

Commit a572750

Browse files
committed
improved:ms build and fixed code ql
1 parent e54dc40 commit a572750

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
cd libxengine
4242
chmod 777 *
4343
sudo ./XEngine_LINEnv.sh -i 3
44-
cd ..
4544
4645
- name: make
4746
run: |
@@ -50,11 +49,6 @@ jobs:
5049
make FLAGS=InstallAll
5150
make FLAGS=CleanAll
5251
53-
make RELEASE=1
54-
make FLAGS=InstallAll
55-
make FLAGS=CleanAll
56-
cd ..
57-
5852
- name: Perform CodeQL Analysis
5953
uses: github/codeql-action/analyze@v3
6054
with:

.github/workflows/msbuild.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,33 @@ jobs:
6565
./VSCopy-x86.bat
6666
./XEngine_MQServiceApp.exe -t
6767
shell: pwsh
68+
- name: Conditional Step for x86 Debug
69+
if: matrix.configuration == 'Debug' && matrix.platform == 'x86'
70+
run: |
71+
cp -r XEngine_Source/Debug/*.dll XEngine_Release/
72+
cp -r XEngine_Source/Debug/*.exe XEngine_Release/
73+
cp -r XEngine_Source/VSCopy-x86.bat XEngine_Release/
74+
cd XEngine_Release
75+
./VSCopy-x86.bat
76+
./XEngine_MQServiceApp.exe -t
77+
shell: pwsh
78+
- name: Conditional Step for x64 Release
79+
if: matrix.configuration == 'Release' && matrix.platform == 'x64'
80+
run: |
81+
cp -r XEngine_Source/x64/Release/*.dll XEngine_Release/
82+
cp -r XEngine_Source/x64/Release/*.exe XEngine_Release/
83+
cp -r XEngine_Source/VSCopy-x64.bat XEngine_Release/
84+
cd XEngine_Release
85+
./VSCopy-x64.bat
86+
./XEngine_MQServiceApp.exe -t
87+
shell: pwsh
88+
- name: Conditional Step for x64 Debug
89+
if: matrix.configuration == 'Debug' && matrix.platform == 'x64'
90+
run: |
91+
cp -r XEngine_Source/x64/Debug/*.dll XEngine_Release/
92+
cp -r XEngine_Source/x64/Debug/*.exe XEngine_Release/
93+
cp -r XEngine_Source/VSCopy-x64.bat XEngine_Release/
94+
cd XEngine_Release
95+
./VSCopy-x64.bat
96+
./XEngine_MQServiceApp.exe -t
97+
shell: pwsh

0 commit comments

Comments
 (0)