Skip to content

Install libgtk for linux CI runner to build wxpython #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/matrix-and-codecov-on-merge-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,17 @@ jobs:
conda config --set always_yes yes
--set changeps1 no

- name: Install diffpy.labpdfproc and requirements
- name: Install diffpy.labpdfproc and requirements for Linux
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed forlinux runner in this CI to build wxpython from the sdist file. This is not needed for Windows and macOS.

conda install --file requirements/test.txt
pip install -r requirements/pip.txt
python -m pip install . --no-deps

- name: Install diffpy.labpdfproc and requirements for non-Linux
if: runner.os != 'Linux'
run: |
conda install --file requirements/test.txt
pip install -r requirements/pip.txt
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tests-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
conda config --set always_yes yes
--set changeps1 no

- name: Install libgtk for Linux
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev

- name: Install diffpy.labpdfproc and requirements
run: |
conda install --file requirements/test.txt
Expand Down
Loading