summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gmail.com>2020-12-23 19:58:50 +0000
committerGitHub <noreply@github.com>2020-12-23 19:58:50 +0000
commitc7973204247c777086a94f9f99af83c1a51b2d8e (patch)
treeac8ffe3bea5b6e8ae86d943a5beb20e466f5a152 /.github/workflows/macos.yml
parent03b9b4692cfdd14f96d9e811bb5c89f3a0696bf5 (diff)
parent1878042c03643f0107f977bdd400de1448a45a02 (diff)
downloadlibepoxy-c7973204247c777086a94f9f99af83c1a51b2d8e.tar.gz
Merge pull request #236 from anholt/ebassi/ci-split
ci: Split Linux and macOS pipelines
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
new file mode 100644
index 0000000..c725ef1
--- /dev/null
+++ b/.github/workflows/macos.yml
@@ -0,0 +1,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 }}"