Skip to content

Commit

Permalink
Fix python build on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fishy committed Aug 20, 2024
1 parent e98d6b1 commit 1f5dbe3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ jobs:
strategy:
matrix:
python-version:
- "3.x"
- "3.11"
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand All @@ -419,6 +419,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "lib/py/setup.py"

- name: Python setup
run: |
Expand All @@ -430,7 +432,6 @@ jobs:
run: ./bootstrap.sh

- name: Run configure 3.x
if: matrix.python-version == '3.x'
run: |
./configure $(echo $CONFIG_ARGS_FOR_LIBS | sed 's/without-py3/with-py3/')
Expand All @@ -448,7 +449,7 @@ jobs:
run: make -C lib/py

- name: Run make install for python
run: sudo make -C lib/py install
run: make -C lib/py install

# - name: Run make install-exec-hook for python
# run: sudo make -C lib/py install-exec-hook
Expand Down

0 comments on commit 1f5dbe3

Please sign in to comment.