File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : STL Test
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ env :
10+ ENABLE_TEST : ON
11+ ENABLE_BENCHMARK : ON
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+ with :
21+ submodules : true
22+
23+ - name : Install dependencies
24+ run : |
25+ sudo apt-get update
26+ sudo apt-get install -y g++ cmake
27+
28+ - name : Configure CMake
29+ run : cmake -B ${{github.workspace}}/build -DENABLE_TEST=${{env.ENABLE_TEST}} -DENABLE_BENCHMARK=${{env.ENABLE_BENCHMARK}}
30+
31+ - name : Build
32+ run : cmake --build ${{github.workspace}}/build -j4
33+
34+ - name : Run Test
35+ working-directory : ${{github.workspace}}/build
36+ run : ./test/test_all
You can’t perform that action at this time.
0 commit comments