File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Premerge
2+
3+ on :
4+ pull_request :
5+ branches : [ "main" ]
6+
7+ env :
8+ # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
9+ BUILD_TYPE : Release
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Install LLVM
19+ run : |
20+ wget https://apt.llvm.org/llvm.sh
21+ chmod +x llvm.sh
22+ sudo ./llvm.sh 20 all
23+
24+ - name : Configure CMake
25+ run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
26+
27+ - name : Build
28+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
29+
30+ - name : Test
31+ working-directory : ${{github.workspace}}/build
32+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target test
33+
You can’t perform that action at this time.
0 commit comments