Skip to content

Commit

Permalink
test brew pkgconf
Browse files Browse the repository at this point in the history
  • Loading branch information
nhuet committed Nov 21, 2024
1 parent ce83792 commit 52be8b5
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,15 @@ jobs:
get-archi:
strategy:
matrix:
python-version: ["3.9", "3.12"]
os: ["macos-latest", "macos-13", "windows-latest", "ubuntu-latest"]
os: ["macos-latest"]
fail-fast: false
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- run: |
echo ${{ matrix }}
uname -a
if [ "${{ startsWith(matrix.os, 'windows') || (startsWith(matrix.os, 'macos') && matrix.python-version == '3.12') }}" == false ]; then
echo "install toulbar2"
fi
- run: |
pip install matplotlib
python -c "import matplotlib; matplotlib.use('agg'); import matplotlib.pyplot as plt; plt.subplots(); print('agg=OK')"
python -c "import matplotlib; matplotlib.use('tkagg'); import matplotlib.pyplot as plt; plt.subplots(); print('tkagg=OK')"
- name: install pkgconf
run: |
brew update
brew upgrade
brew install pkgconf

0 comments on commit 52be8b5

Please sign in to comment.