Skip to content

Commit

Permalink
Merge pull request #136 from bobleesj/wxpython-build
Browse files Browse the repository at this point in the history
Install `libgtk` for linux CI runner to build wxpython
  • Loading branch information
sbillinge authored Nov 25, 2024
2 parents 055b223 + 0806dab commit a1dba3c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
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
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

0 comments on commit a1dba3c

Please sign in to comment.