Skip to content

Commit 18e92a1

Browse files
committed
update:code ql and ms build
1 parent c4590ba commit 18e92a1

2 files changed

Lines changed: 25 additions & 15 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL Advanced"
132

143
on:
@@ -25,7 +14,7 @@ jobs:
2514
fail-fast: false
2615
matrix:
2716
include:
28-
- language: c-cpp
17+
- language: cpp
2918

3019
steps:
3120
- name: Checkout repository
@@ -37,8 +26,29 @@ jobs:
3726
with:
3827
languages: ${{ matrix.language }}
3928

40-
- name: Autobuild
41-
uses: github/codeql-action/autobuild@v3
29+
- name: sub module checkout (opensource)
30+
run: |
31+
git submodule init
32+
git submodule update
33+
34+
- name: Set up Dependency Environment Variables
35+
run: |
36+
cd libxengine
37+
chmod 777 *
38+
sudo ./XEngine_LINEnv.sh -i 3
39+
cd ..
40+
41+
- name: make
42+
run: |
43+
cd XEngine_Source
44+
make
45+
make FLAGS=InstallAll
46+
make FLAGS=CleanAll
47+
48+
make RELEASE=1
49+
make FLAGS=InstallAll
50+
make FLAGS=CleanAll
51+
cd ..
4252
4353
- name: Perform CodeQL Analysis
4454
uses: github/codeql-action/analyze@v3

.github/workflows/msbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: |
6161
cp -r XEngine_Source/Release/*.dll XEngine_Release/
6262
cp -r XEngine_Source/Release/*.exe XEngine_Release/
63-
cp -r XEngine_Source/VSCopy_x86.bat XEngine_Release/
63+
cp -r XEngine_Source/VSCopy-x86.bat XEngine_Release/
6464
cd XEngine_Release
6565
./XEngine_MQServiceApp -t
6666
shell: pwsh

0 commit comments

Comments
 (0)