File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -111,3 +111,43 @@ jobs:
111111 name : FindAFactor-${{ matrix.platform }}
112112 path : dist/
113113
114+ build_windows :
115+ runs-on : windows-latest # Use a Linux runner
116+ strategy :
117+ matrix :
118+ platform :
119+ - win-amd64
120+ dependencies : [vcpkg]
121+ steps :
122+ - name : Checkout FindAFactor
123+ uses : actions/checkout@v4
124+
125+ - name : Set up Python
126+ uses : actions/setup-python@v5
127+ with :
128+ python-version : ' 3.10'
129+
130+ - name : Install Python Dependencies
131+ run : |
132+ python -m pip install --upgrade pip
133+ python -m pip install wheel setuptools
134+
135+ - name : Mount vcpkg cache
136+ uses : actions/cache@v4
137+ with :
138+ path : " ~/.cache/vcpkg/archives"
139+ key : vcpkg-${{ matrix.os }}
140+
141+ - name : Install vcpkg dependencies
142+ run : |
143+ vcpkg install pybind11
144+
145+ - name : Build Wheel
146+ run : |
147+ python setup.py bdist_wheel --plat-name=${{ matrix.platform }}
148+
149+ - name : Upload Artifacts
150+ uses : actions/upload-artifact@v4
151+ with :
152+ name : FindAFactor-${{ matrix.platform }}
153+ path : dist/
You can’t perform that action at this time.
0 commit comments