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