Skip to content

Commit

Permalink
test: Test to build & run windows x64 wheel on github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ducdetronquito committed Aug 30, 2024
1 parent 9296905 commit f3c03d3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,29 @@ jobs:
- name: Test installed wheel
run: |
python -m pybun --version
test-on-windows-x64:
name: Test wheel on windows x64
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install poetry
uses: snok/install-poetry@v1
with:
version: 1.8.3
- name: Install dev dependencies
run: poetry install

- name: Build the wheel
run: poetry run python src/make_wheels.py latest --platform=windows-x64

- name: Install the wheel
run: |
pip install --no-index --find-links $(pwd)/dist/ pybun
- name: Test installed wheel
run: |
python -m pybun --version

0 comments on commit f3c03d3

Please sign in to comment.