You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
48 lines
1.2 KiB
name: Build
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- debian
|
|
- khronos-registry
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-18.04
|
|
- macos-10.15
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
build-opts:
|
|
- ''
|
|
- '-Dglx=no'
|
|
- '-Degl=no'
|
|
- '-Dx11=false'
|
|
exclude:
|
|
- os: macos-10.15
|
|
compiler: gcc
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- if: runner.os == 'macOS'
|
|
run: brew install ninja
|
|
- if: runner.os == 'Linux'
|
|
run: >
|
|
sudo apt-get update &&
|
|
sudo apt-get install --no-install-recommends
|
|
libgl1-mesa-dev
|
|
libegl1-mesa-dev
|
|
libgles2-mesa-dev
|
|
libgl1-mesa-dri
|
|
ninja-build
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
- run: |
|
|
python -m pip install --upgrade pip
|
|
pip3 install meson
|
|
- if: runner.os == 'macOS'
|
|
run: /bin/sh -c "CC=${{ matrix.compiler }} .travis/epoxy-ci-osx.sh ${{ matrix.build-opts }}"
|
|
- if: runner.os == 'Linux'
|
|
run: /bin/sh -c "CC=${{ matrix.compiler }} .travis/epoxy-ci-linux.sh ${{ matrix.build-opts }}"
|
|
|