File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Build, run unit tests
2+ name : CMake build and run unit test matrix
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ - develop
9+ env :
10+ BUILD_TYPE : Release
11+ jobs :
12+ build_matrix :
13+ strategy :
14+ matrix :
15+ os : [ubuntu-latest, windows-latest, macos-14]
16+ # os: [ubuntu-latest]
17+ runs-on : ${{ matrix.os }}
18+ defaults :
19+ run :
20+ shell : bash
21+ steps :
22+ - name : checkout
23+ uses : actions/checkout@v4
24+ with :
25+ path : main
26+ - name : create-build-dir
27+ run : mkdir build
28+ - name : configure-cmake
29+ run : cd build && cmake -D WAIT_QUEUE_BUILD_TESTS:BOOL=OFF -D JM_CIRCULAR_BUFFER_BUILD_TESTS:BOOL=OFF ../main/wait-queue
30+ - name : build
31+ run : cd build && cmake --build . --config $BUILD_TYPE
32+ - name : run-unit-test
33+ run : cd build && ctest -C $BUILD_TYPE
Original file line number Diff line number Diff line change 1+ # Build, run unit tests
2+ name : Generate documentation
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ jobs :
9+ build_matrix :
10+ strategy :
11+ matrix :
12+ os : [ubuntu-latest]
13+ runs-on : ${{ matrix.os }}
14+ defaults :
15+ run :
16+ shell : bash
17+ steps :
18+ - name : checkout
19+ uses : actions/checkout@v4
20+ - name : run-doxygen
21+ uses : mattnotmitt/doxygen-action@v1.9.8
22+ with :
23+ working-directory : docs
24+ - name : deploy-pages
25+ uses : peaceiris/actions-gh-pages@v4
26+ with :
27+ github_token : ${{ secrets.GITHUB_TOKEN }}
28+ publish_dir : ./doc/doc_output/html
You can’t perform that action at this time.
0 commit comments