From 3d486027e29bd12796916120f35c62c0c38b7bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Sun, 10 Dec 2023 09:24:40 +0100 Subject: [PATCH] ci: add a macOS GitHub Actions workflow --- .github/workflows/macos.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 00000000..eea1b014 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,32 @@ +--- +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 install boost boost-python3 help2man + + - name: Build and check + run: make distcheck