Skip to content

Commit 552e07f

Browse files
committed
ci: add a macOS GitHub Actions workflow
1 parent a023cda commit 552e07f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/macos.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: macOS CI
3+
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
10+
jobs:
11+
ubuntu:
12+
name: macOS ${{ matrix.version }} (${{ matrix.compiler }} with sanitizers)
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
compiler: [clang++]
17+
version: [latest]
18+
19+
runs-on: macos-${{ matrix.version }}
20+
env:
21+
CXX: ${{ matrix.compiler }}
22+
CXXFLAGS: -Werror
23+
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
27+
28+
- name: Install dependencies
29+
run: brew install boost boost-python3 help2man
30+
31+
- name: Build and check
32+
run: make distcheck-sanitizers

0 commit comments

Comments
 (0)