-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from libxengine/develop
V2.10.0.1001 Merge
- Loading branch information
Showing
59 changed files
with
794 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: CodeQL Advanced | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'develop' | ||
paths: | ||
- 'XEngine_Source/**' | ||
- 'XEngine_Release/**' | ||
- '.github/**' | ||
|
||
jobs: | ||
analyze: | ||
runs-on: ubuntu-24.04 | ||
permissions: | ||
security-events: write | ||
packages: read | ||
actions: read | ||
contents: read | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- language: c-cpp | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: 'develop' | ||
|
||
- name: Checkout dependency repository (xengine) | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: libxengine/libxengine | ||
path: libxengine | ||
|
||
- name: sub module checkout (opensource) | ||
run: | | ||
git submodule init | ||
git submodule update | ||
- name: Set up Dependency Environment | ||
run: | | ||
cd libxengine | ||
chmod +x ./XEngine_LINEnv.sh | ||
sudo ./XEngine_LINEnv.sh -i 3 | ||
- name: install library | ||
run: sudo apt install libsrt-gnutls-dev libsrtp2-dev -y | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: make | ||
run: | | ||
cd XEngine_Source | ||
make | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:${{ matrix.language }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: cpp check workflows | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'develop' | ||
paths: | ||
- 'XEngine_Source/**' | ||
- 'XEngine_Release/**' | ||
- '.github/**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout main repository code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: 'develop' | ||
|
||
- name: Create static_analysis directory | ||
run: mkdir -p static_analysis | ||
|
||
- name: Run Cppcheck | ||
run: | | ||
sudo apt-get install -y cppcheck | ||
cppcheck --enable=all --language=c++ --std=c++20 ./XEngine_Source/ --output-file=static_analysis/log.xml --xml | ||
continue-on-error: true | ||
|
||
- name: Upload Cppcheck Results | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: cppcheck_results | ||
path: static_analysis/log.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Issue Translator | ||
on: | ||
issue_comment: | ||
types: [created] | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: usthe/[email protected] | ||
with: | ||
IS_MODIFY_TITLE: false | ||
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.