Skip to content

Commit 10841a8

Browse files
committed
Add back makefile ci
1 parent 8190072 commit 10841a8

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

.github/workflows/ci-makefile.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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

0 commit comments

Comments
 (0)