From 2551ca3ea554bb188ec6ce1f45c0d45cc74e4bfb Mon Sep 17 00:00:00 2001 From: Patrick Avery Date: Thu, 12 Oct 2023 19:00:40 -0500 Subject: [PATCH] For CI workflows, install EGL on Linux PySide6 needs it. Signed-off-by: Patrick Avery --- .github/workflows/package.yml | 4 ++++ .github/workflows/test.yml | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 15636fba1..57e3022e5 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -47,6 +47,10 @@ jobs: python-version: '3.10' auto-activate-base: false + - name: Install EGL on Linux (PySide6 needs it) + if: ${{ matrix.config.name == 'Linux' }} + run: sudo apt-get install -y libegl1-mesa-dev + - name: Get version using git describe working-directory: hexrdgui run: echo "HEXRDGUI_GIT_DESCRIBE=$(git describe --tag)" >> $GITHUB_ENV diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ace167e70..5fa38723c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -55,9 +55,13 @@ jobs: repository: HEXRD/examples path: examples + - name: Install EGL on Linux (PySide6 needs it) + if: ${{ matrix.config.name == 'Linux' }} + run: sudo apt-get install -y libegl1-mesa-dev + - name: Set environment variable to work around setuptools/numpy issue run: echo 'SETUPTOOLS_USE_DISTUTILS=stdlib' >> $GITHUB_ENV - if: ${{ matrix.config.os == 'windows-latest'}} + if: ${{ matrix.config.name == 'Windows' }} - name: Install HEXRD run: |