Skip to content

Commit

Permalink
ci: add a macOS GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lzaoral committed Dec 10, 2023
1 parent 87e709a commit 56ceca8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: macOS CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
ubuntu:
name: macOS ${{ matrix.version }} (${{ matrix.compiler }})
strategy:
fail-fast: false
matrix:
compiler: [clang++]
version: [latest]

runs-on: macos-${{ matrix.version }}
env:
CXX: ${{ matrix.compiler }}
CXXFLAGS: -Werror

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
run: |
brew upgrade
brew install boost boost-python3 help2man
- name: Build and check
run: make distcheck

0 comments on commit 56ceca8

Please sign in to comment.