Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build 32-bit wheels for Windows #481

Merged
merged 1 commit into from Sep 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/deploy-wheels-windows-macos.yml
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/deploy-wheels-windows-macos.yml"
release:
types:
- published
Expand All @@ -14,8 +17,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macOS-latest]
os: [windows-latest, macos-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10-dev"]
architecture: [x64, x86]
exclude:
- {os: macos-latest, architecture: x86}

steps:
- uses: actions/checkout@v2
Expand All @@ -26,6 +32,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Install dependencies
run: |
Expand Down Expand Up @@ -53,7 +60,9 @@ jobs:
run: twine upload --skip-existing dist/*.whl

- name: Publish package to TestPyPI
if: github.repository == 'ultrajson/ultrajson'
if: |
github.repository == 'ultrajson/ultrajson' &&
github.ref == 'refs/heads/main'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.test_pypi_password }}
Expand Down