Skip to content

Commit

Permalink
Build wheel using python-build
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Aug 27, 2024
1 parent f41a7fa commit ae181d8
Show file tree
Hide file tree
Showing 6 changed files with 744 additions and 35 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
- name: Build and test
shell: pixi run bash -e {0}
run: |
mkdir build
pushd build
meson setup ..
ninja
mv pyproject.toml.meson pyproject.toml
python -m build
python -m pip install dist/*.whl
windows-pixi-tests:
runs-on: windows-latest
strategy:
Expand All @@ -59,13 +58,13 @@ jobs:
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
with:
environments: ${{ matrix.environment }}
- name: Build and test
- run: mv pyproject.toml.meson pyproject.toml
- name: Build wheel
shell: pixi run pwsh -Command {0}
run: |
mkdir build
pushd build
meson setup ..
ninja
run: python -m build
- name: Install wheel
shell: pixi run pwsh -Command {0}
run: python -m pip install dist/*.whl
windows-tests:
runs-on: windows-latest
defaults:
Expand Down
Loading

0 comments on commit ae181d8

Please sign in to comment.