Skip to content

Commit

Permalink
Make: Enable windows build on pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ishkhan42 committed Jun 8, 2023
1 parent 2f23d56 commit 7210d02
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
env:
BUILD_TYPE: Release
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
PYTHONUTF8: 1

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -33,24 +34,30 @@ jobs:
needs: versioning
strategy:
matrix:
os: [ubuntu-20.04, macOS-11]
os: [ubuntu-20.04, macOS-11, windows-2022]

steps:
- uses: actions/checkout@v3
with:
ref: 'main'
- uses: actions/setup-python@v3
- uses: crazy-max/ghaction-setup-docker@v1.0.0

- name: Setup Docker
if: matrix.os != 'windows-2022'
uses: crazy-max/ghaction-setup-docker@v1.0.0
with:
version: 23.0.1
- uses: docker/setup-qemu-action@v2.1.0

- name: Setup QEMU
if: matrix.os != 'windows-2022'
uses: docker/setup-qemu-action@v2.1.0

- name: Install CIBuildWheel
run: python -m pip install cibuildwheel

- name: Build wheels
run: python -m cibuildwheel

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
Expand Down

0 comments on commit 7210d02

Please sign in to comment.