From 35adc5d032cfacd599bb1777f04ea23fe3a896f6 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Sat, 24 Apr 2021 15:43:54 -0400 Subject: [PATCH] only opengl on recent linux --- .github/workflows/test_and_deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index ca35650..0329525 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -77,8 +77,9 @@ jobs: sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 \ libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \ libxcb-xinerama0 libxcb-xfixes0 - sudo apt install libopengl0 libegl1-mesa -y - # libxcb-xinput0 + - name: Linux opengl + if: runner.os == 'Linux' && ( ${{ matrix.backend }} == pyside6 || ${{ matrix.backend }} == pyqt6 ) + sudo apt-get install -y libopengl0 libegl1-mesa libxcb-xinput0 - name: Install dependencies run: |