added:_DEBUG _RELEASE FLAGS and __UNICODE__ __ANSI__ FLAGS for make f… #41
This file contains hidden or 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
| name: CodeQL Advanced | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| jobs: | |
| analyze: | |
| runs-on: ubuntu-latest | |
| 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 | |
| - 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: 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 }}" |