Skip to content

Commit

Permalink
Try to fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Dec 25, 2024
1 parent 50cda0c commit 3f95804
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,43 +225,3 @@ jobs:
name: pyqrack-${{ matrix.platform }}
path: dist/

build_windows:
runs-on: windows-latest # Use a Linux runner
strategy:
matrix:
platform:
- win-amd64
dependencies: [vcpkg]
steps:
- name: Checkout Eratosthenes
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install wheel setuptools
- name: Mount vcpkg cache
uses: actions/cache@v4
with:
path: "~/.cache/vcpkg/archives"
key: vcpkg-${{ matrix.os }}

- name: Install vcpkg dependencies
run: |
vcpkg install pybind11
- name: Build Wheel
run: |
python setup.py bdist_wheel --plat-name=${{ matrix.platform }}
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: pyqrack-${{ matrix.platform }}
path: dist/
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import setuptools
from distutils.core import setup, Extension

cpp_args = ['-std=c++17', '-lpthread']
Expand Down

0 comments on commit 3f95804

Please sign in to comment.