File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ push : # REMOVE
5+ pull_request : # REMOVE
6+ schedule :
7+ - cron : ' 0 0 * * *'
8+
9+ jobs :
10+ analyze :
11+ name : Analyze
12+ runs-on : ubuntu-latest
13+ permissions :
14+ actions : read
15+ contents : read
16+ security-events : write
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ language :
21+ - cpp
22+ build-system :
23+ - make
24+ - cmake
25+ steps :
26+ - name : Checkout repository
27+ uses : actions/checkout@v4
28+
29+ - name : Initialize CodeQL
30+ uses : github/codeql-action/init@v2
31+ with :
32+ languages : ${{ matrix.language }}
33+ - name : Autobuild
34+ uses : github/codeql-action/autobuild@v2
35+ - name : CMake configure
36+ run : >
37+ cmake -S . -B build
38+ -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
39+ -G Ninja -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STL=ON
40+ -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
41+ -D CMAKE_BUILD_TYPE=RELEASE
42+ env :
43+ CC : gcc-14
44+ CXX : g++-14
45+ - name : Build project
46+ run : |
47+ cmake --build build --parallel
48+ env :
49+ CC : gcc-14
50+ CXX : g++-14
51+ - name : Perform CodeQL Analysis
52+ uses : github/codeql-action/analyze@v2
You can’t perform that action at this time.
0 commit comments