| 1 | name: Ubuntu |
| 2 | on: |
| 3 | push: |
| 4 | branches-ignore: |
| 5 | - debian |
| 6 | - khronos-registry |
| 7 | jobs: |
| 8 | build: |
| 9 | strategy: |
| 10 | matrix: |
| 11 | os: |
| 12 | - ubuntu-18.04 |
| 13 | compiler: |
| 14 | - gcc |
| 15 | - clang |
| 16 | build-opts: |
| 17 | - '' |
| 18 | - '-Dglx=no' |
| 19 | - '-Degl=no' |
| 20 | - '-Dx11=false' |
| 21 | runs-on: ${{ matrix.os }} |
| 22 | steps: |
| 23 | - uses: actions/checkout@v2 |
| 24 | - run: > |
| 25 | sudo apt-get update && |
| 26 | sudo apt-get install --no-install-recommends |
| 27 | libgl1-mesa-dev |
| 28 | libegl1-mesa-dev |
| 29 | libgles2-mesa-dev |
| 30 | libgl1-mesa-dri |
| 31 | ninja-build |
| 32 | - uses: actions/setup-python@v2 |
| 33 | with: |
| 34 | python-version: 3.x |
| 35 | - run: | |
| 36 | python -m pip install --upgrade pip |
| 37 | pip3 install meson |
| 38 | /bin/sh -c "CC=${{ matrix.compiler }} .github/scripts/epoxy-ci-linux.sh ${{ matrix.build-opts }}" |