Skip to content

Bug Fix: Manjaro Compilation on 0.8.x #500

Bug Fix: Manjaro Compilation on 0.8.x

Bug Fix: Manjaro Compilation on 0.8.x #500

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:jammy'
COMPILER: 'gcc'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'ubuntu:jammy'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
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: 'LEGACY'
allow_failure: false
- FROM: 'ubuntu:focal'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
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: 'ubuntu:bionic'
COMPILER: 'gcc'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'ubuntu:bionic'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'ubuntu:bionic'
COMPILER: 'gcc'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'ubuntu:bionic'
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: 'LEGACY'
allow_failure: false
- FROM: 'linuxmintd/mint20-amd64'
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: 'LEGACY'
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: 'LEGACY'
allow_failure: false
- FROM: 'debian:buster'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'opensuse/leap'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'opensuse/leap'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'fedora:36'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'fedora:36'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'fedora:35'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'fedora:35'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'fedora:34'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'fedora:34'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: false
- FROM: 'rockylinux/rockylinux'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'LEGACY'
allow_failure: false
- FROM: 'rockylinux/rockylinux'
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: 'LEGACY'
allow_failure: true
- FROM: 'manjarolinux/base'
COMPILER: 'clang'
USE_PYTHON_3: 'ON'
OpenGL_GL_PREFERENCE: 'GLVND'
allow_failure: true
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
with:
fetch-depth: 2
submodules: false
# Ensure PRs are built against the PR Head
# As opposed to the merge commit
- 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