Skip to content

Commit 56ceca8

Browse files
committed
ci: add a macOS GitHub Actions workflow
1 parent 87e709a commit 56ceca8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/macos.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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 }})
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: |
30+
brew upgrade
31+
brew install boost boost-python3 help2man
32+
33+
- name: Build and check
34+
run: make distcheck

0 commit comments

Comments
 (0)