Skip to content

Commit 6ea4b8f

Browse files
committed
update: code ql and ms build
1 parent b53dbe7 commit 6ea4b8f

File tree

2 files changed

+10
-33
lines changed

2 files changed

+10
-33
lines changed

.github/workflows/codeql.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,41 +13,38 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
include:
17-
- language: cpp
16+
language: [ 'cpp' ]
1817

1918
steps:
2019
- name: Checkout repository
2120
uses: actions/checkout@v4
2221

23-
# Initializes the CodeQL tools for scanning.
24-
- name: Initialize CodeQL
25-
uses: github/codeql-action/init@v3
22+
- name: Checkout dependency repository (xengine)
23+
uses: actions/checkout@v4
2624
with:
27-
languages: ${{ matrix.language }}
25+
repository: libxengine/libxengine
26+
path: libxengine
2827

2928
- name: sub module checkout (opensource)
3029
run: |
3130
git submodule init
3231
git submodule update
3332
34-
- name: Checkout dependency repository (xengine)
35-
uses: actions/checkout@v4
33+
# Initializes the CodeQL tools for scanning.
34+
- name: Initialize CodeQL
35+
uses: github/codeql-action/init@v3
3636
with:
37-
repository: libxengine/libxengine
38-
path: libxengine
37+
languages: ${{ matrix.language }}
38+
3939
- name: Set up Dependency Environment Variables
4040
run: |
4141
cd libxengine
4242
chmod 777 *
4343
sudo ./XEngine_LINEnv.sh -i 3
44-
4544
- name: make
4645
run: |
4746
cd XEngine_Source
4847
make
4948
5049
- name: Perform CodeQL Analysis
5150
uses: github/codeql-action/analyze@v3
52-
with:
53-
category: "/language:${{matrix.language}}"

.github/workflows/msbuild.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,3 @@ jobs:
7575
./VSCopy-x86.bat
7676
./XEngine_MQServiceApp.exe -t
7777
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)