Skip to content

Commit

Permalink
For CI workflows, install EGL on Linux
Browse files Browse the repository at this point in the history
PySide6 needs it.

Signed-off-by: Patrick Avery <[email protected]>
  • Loading branch information
psavery committed Oct 13, 2023
1 parent a9256cc commit db0d698
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 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
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ jobs:
repository: HEXRD/examples
path: examples

- name: Install EGL on Linux (PySide6 needs it)
if: ${{ matrix.config.name == 'Linux' }}
run: 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: |
Expand Down

0 comments on commit db0d698

Please sign in to comment.