Skip to content

Commit

Permalink
improved:ms build and fixed code ql
Browse files Browse the repository at this point in the history
  • Loading branch information
xengine-qyt committed Sep 19, 2024
1 parent e54dc40 commit a572750
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
cd libxengine
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 3
cd ..
- name: make
run: |
Expand All @@ -50,11 +49,6 @@ jobs:
make FLAGS=InstallAll
make FLAGS=CleanAll
make RELEASE=1
make FLAGS=InstallAll
make FLAGS=CleanAll
cd ..
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,33 @@ jobs:
./VSCopy-x86.bat
./XEngine_MQServiceApp.exe -t
shell: pwsh
- name: Conditional Step for x86 Debug
if: matrix.configuration == 'Debug' && matrix.platform == 'x86'
run: |
cp -r XEngine_Source/Debug/*.dll XEngine_Release/
cp -r XEngine_Source/Debug/*.exe XEngine_Release/
cp -r XEngine_Source/VSCopy-x86.bat XEngine_Release/
cd XEngine_Release
./VSCopy-x86.bat
./XEngine_MQServiceApp.exe -t
shell: pwsh
- name: Conditional Step for x64 Release
if: matrix.configuration == 'Release' && matrix.platform == 'x64'
run: |
cp -r XEngine_Source/x64/Release/*.dll XEngine_Release/
cp -r XEngine_Source/x64/Release/*.exe XEngine_Release/
cp -r XEngine_Source/VSCopy-x64.bat XEngine_Release/
cd XEngine_Release
./VSCopy-x64.bat
./XEngine_MQServiceApp.exe -t
shell: pwsh
- name: Conditional Step for x64 Debug
if: matrix.configuration == 'Debug' && matrix.platform == 'x64'
run: |
cp -r XEngine_Source/x64/Debug/*.dll XEngine_Release/
cp -r XEngine_Source/x64/Debug/*.exe XEngine_Release/
cp -r XEngine_Source/VSCopy-x64.bat XEngine_Release/
cd XEngine_Release
./VSCopy-x64.bat
./XEngine_MQServiceApp.exe -t
shell: pwsh

0 comments on commit a572750

Please sign in to comment.