Skip to content

Homebrew Troubleshooting - 0.8.x #525

Homebrew Troubleshooting - 0.8.x

Homebrew Troubleshooting - 0.8.x #525

Workflow file for this run

name: 'GH Actions - PR'
on: [ pull_request ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow_failure }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
include:
- FROM: 'ubuntu:mantic'
COMPILER: 'gcc'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'ubuntu:mantic'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'ubuntu:mantic'
COMPILER: 'gcc'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'ubuntu:mantic'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'ubuntu:jammy'
COMPILER: 'gcc'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'ubuntu:jammy'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'ubuntu:focal'
COMPILER: 'gcc'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'ubuntu:focal'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'linuxmintd/mint21.1-amd64'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'linuxmintd/mint21-amd64'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'linuxmintd/mint20-amd64'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'debian:bookworm'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'debian:bullseye'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'debian:buster'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'opensuse/leap:15.5'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'opensuse/leap:15.5'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'opensuse/leap:15.4'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'fedora:38'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'fedora:38'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'fedora:37'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'rockylinux:9.1'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'rockylinux/8.7'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'manjarolinux/base'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: true
steps:
#- name: Set up Python
# uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 #v4.7.1
# with:
# python-version: '3.11'
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
fetch-depth: 2
submodules: false
- name: Move to PR HEAD
run: git checkout ${{ github.event.pull_request.head.sha }}
- name: Extract short SHA
shell: bash
run: |
echo "SHORT_SHA=`git rev-parse --short ${{ github.event.pull_request.head.sha }}`" >> $GITHUB_ENV
- name: Test short SHA
run: |
echo "${SHORT_SHA}"
- name: Run CI
env:
FROM: ${{ matrix.FROM }}
COMPILER: ${{ matrix.COMPILER }}
FLAGS: '-DUSE_PYTHON_3=${{ matrix.USE_PYTHON_3 }} -DOpenGL_GL_PREFERENCE=${{ matrix.OpenGL_GL_PREFERENCE }}'
MY_OS_NAME: linux
IS_RELEASE: 0
run: script/cibuild $FLAGS