Skip to content

Commit

Permalink
Create build_windows.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMoroz authored Sep 3, 2024
1 parent 3a6d433 commit b530629
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build_windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build Windows Wheels

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
BUILD_TYPE: Release

jobs:
build-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.1.1
with:
python-version: ${{ matrix.python-version }}

- name: Build and Package
run: .\build_windows.ps1

- name: Upload wheels as artifact
uses: actions/upload-artifact@v2
with:
name: windows-wheels
path: PythonBuild/dist/*.whl

0 comments on commit b530629

Please sign in to comment.