Skip to content

Commit

Permalink
workflows.... only linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekrubin committed Jan 18, 2024
1 parent 1e7b642 commit fe10988
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,41 +60,41 @@ jobs:
pip3 install ry --find-links dist --force-reinstall
pytest
windows:
runs-on: windows-latest
if: |
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/master' ||
github.ref == 'refs/tags/v*'
strategy:
matrix:
target: [ x64, x86 ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: ${{ matrix.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-windows-${{ matrix.target }}
path: dist
- name: pytest
if: ${{ !startsWith(matrix.target, 'aarch64') }}
shell: bash
run: |
set -e
pip install ry --find-links dist --force-reinstall
pip install pytest
pytest
# windows:
# runs-on: windows-latest
# if: |
# github.ref == 'refs/heads/main' ||
# github.ref == 'refs/heads/master' ||
# github.ref == 'refs/tags/v*'
# strategy:
# matrix:
# target: [ x64, x86 ]
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: '3.10'
# architecture: ${{ matrix.target }}
# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.target }}
# args: --release --out dist --find-interpreter
# sccache: 'true'
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: wheels-windows-${{ matrix.target }}
# path: dist
# - name: pytest
# if: ${{ !startsWith(matrix.target, 'aarch64') }}
# shell: bash
# run: |
# set -e
# pip install ry --find-links dist --force-reinstall
# pip install pytest
# pytest
#
# macos:
# runs-on: macos-latest
# # only run on tags/main and pull requests to main
Expand Down

0 comments on commit fe10988

Please sign in to comment.