File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-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+ steps :
23+ - uses : actions/checkout@v4
24+ with :
25+ submodules : recursive
26+ - name : Setup environment
27+ run : |
28+ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
29+ sudo apt-get update
30+ sudo apt-get install -y gcc-14 g++-14 ninja-build mpich libomp-dev valgrind
31+ python3 -m pip install -r requirements.txt
32+ - name : Initialize CodeQL
33+ uses : github/codeql-action/init@v2
34+ with :
35+ languages : ${{ matrix.language }}
36+ - name : CMake configure
37+ run : >
38+ cmake -S . -B build
39+ -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
40+ -G Ninja -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STL=ON
41+ -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
42+ -D CMAKE_BUILD_TYPE=RELEASE
43+ env :
44+ CC : gcc-14
45+ CXX : g++-14
46+ - name : Build project
47+ run : |
48+ cmake --build build --parallel
49+ env :
50+ CC : gcc-14
51+ CXX : g++-14
52+ - name : Perform CodeQL Analysis
53+ uses : github/codeql-action/analyze@v2
You can’t perform that action at this time.
0 commit comments