aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
blob: c725ef1a381f6f00494ff12312539518ffc55ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: macOS
on:
  push:
    branches-ignore:
      - debian
      - khronos-registry
jobs:
  build:
    strategy:
      matrix:
        build-opts:
          - ''
          - '-Dglx=no'
          - '-Degl=no'
          - '-Dx11=false'
    runs-on: macos-10.15
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: 3.x
      - run: |
          brew install ninja
          python -m pip install --upgrade pip
          pip3 install meson
          /bin/sh -c "CC=clang .github/scripts/epoxy-ci-osx.sh ${{ matrix.build-opts }}"