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+ name : Continuous Integrations Makefile
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ paths :
7+ - ' !**'
8+ - ' **.h'
9+ - ' **.cc'
10+ - Makefile
11+ - .github/workflows/ci-makefile.yml
12+ pull_request :
13+ branches : [ master ]
14+ paths :
15+ - ' !**'
16+ - ' **.h'
17+ - ' **.cc'
18+ - Makefile
19+ - .github/workflows/ci-makefile.yml
20+
21+ jobs :
22+ ci-linux-makefile :
23+ strategy :
24+ fail-fast : false
25+ matrix :
26+ toolset : [gcc, clang]
27+ os : [ubuntu-22.04, ubuntu-24.04, ubuntu-22.04-arm, ubuntu-24.04-arm]
28+
29+ runs-on : ${{ matrix.os }}
30+
31+ steps :
32+ - uses : actions/checkout@v6
33+
34+ - name : Install Boost.Test
35+ run : |
36+ sudo apt-get update
37+ sudo apt-get install --yes -qq libboost-test-dev
38+
39+ - name : Environment variables
40+ run : make -r TOOLSET=${{ matrix.toolset }} env
41+
42+ - name : Toolset versions
43+ run : make -r TOOLSET=${{ matrix.toolset }} versions
44+
45+ - name : Build and run unit tests
46+ run : make -rj2 TOOLSET=${{ matrix.toolset }} example run_tests
47+
48+ - name : Build and run unit tests with address sanitizer
49+ run : make -rj2 TOOLSET=${{ matrix.toolset }} BUILD=sanitize2 run_tests
50+
51+ - name : Build and run unit tests with thread sanitizer
52+ run : make -rj2 TOOLSET=${{ matrix.toolset }} BUILD=sanitize run_tests
You can’t perform that action at this time.
0 commit comments