Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kmurphy4 committed Jan 16, 2025
1 parent dc333ac commit 805f6bd
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on: [push]
permissions: read-all
jobs:
build_wheel:
strategy:
matrix:
python-version:
- 3.9.20
- 3.12.6
runs-on: [self-hosted, libpff]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
Expand All @@ -14,17 +19,12 @@ jobs:
./synclibs.sh --use-head && ./autogen.sh && ./configure && make sources >/dev/null
- name: Install Python
run: |
uv python install 3.12.6
uv python install ${{ matrix.python-version }}
- name: Create virtual environment
run: |
rm -rf venv
uv venv --python 3.12.6 venv
uv venv --python ${{ matrix.python-version }} venv
echo "$(pwd)/venv/bin" >> $GITHUB_PATH
- name: Check stuff?
run: |
python3 --version
python3 -c 'import sys; print(sys.executable)'
uv --version
- name: Install Python dependencies
run: |
uv pip install \
Expand All @@ -35,13 +35,13 @@ jobs:
- name: Build libpff-python wheel
run: |
python3 -m build --no-isolation --outdir=dist --wheel
python3 -m pip install --no-index --find-links=dist libpff-python
uv pip install --no-index --find-links=dist libpff-python
python3 tests/runtests.py
- name: Build pypff-stubs wheel
working-directory: stubs
run: |
python3 -m build --outdir=dist --wheel
python3 -m pip install --no-index --find-links=dist pypff-stubs
uv pip install --no-index --find-links=dist pypff-stubs
mypy --strict -c 'import pypff; reveal_type(pypff.file)'
- name: Upload wheels
run: |
Expand Down

0 comments on commit 805f6bd

Please sign in to comment.