Skip to content

Commit

Permalink
test older version of python on windows (x2)
Browse files Browse the repository at this point in the history
  • Loading branch information
azmyrajab committed Apr 4, 2024
1 parent a09349c commit 33403a2
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,42 +63,46 @@ jobs:
- run: make install
- run: make test

windows_tests:
runs-on: windows-latest
linux:
runs-on: ubuntu-latest
strategy:
matrix:
target: [ x64 ]
python-version: ["3.8", "3.11"]
target: [x86_64, x86, aarch64, armv7]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Rust
run: rustup show
- uses: mozilla-actions/[email protected]
- run: make venv
- run: make pre-commit
- run: make install
- run: make test
python-version: '3.10'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

linux:
runs-on: ubuntu-latest
windows_py38:
runs-on: windows-latest
strategy:
matrix:
target: [x86_64, x86, aarch64, armv7]
target: [x64]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.8'
architecture: ${{ matrix.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 33403a2

Please sign in to comment.