From 7210d0213bf53ec7b38f6cee5572bbdf61083aff Mon Sep 17 00:00:00 2001 From: Ishkhan Nazaryan <105867377+ishkhan42@users.noreply.github.com> Date: Thu, 8 Jun 2023 13:28:53 +0000 Subject: [PATCH] Make: Enable windows build on pipelines --- .github/workflows/release.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b61f7ba..261be5a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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