Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add_ci_windows_build #88

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12]
os: [ubuntu-20.04, macos-12, windows-2022]

steps:
- uses: actions/checkout@v3
Expand All @@ -20,6 +20,12 @@ jobs:
CIBW_BEFORE_ALL_LINUX: apt-get install libgmp3-dev || yum install -y gmp-devel || apk add --upgrade gmp-dev
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_BEFORE_ALL_MACOS: brew install gmp
CIBW_ARCHS_WINDOWS: AMD64
CIBW_BEFORE_ALL_WINDOWS: >
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" >> %GITHUB_ENV% &&
vcpkg install gmp:x64-windows-static
CIBW_ENVIRONMENT_WINDOWS: _CL_='-IC:\vcpkg\packages\gmp_x64-windows-static\include' LIB='C:\vcpkg\packages\gmp_x64-windows-static\lib'
CIBW_TEST_COMMAND_WINDOWS: python -m fastecdsa.benchmark

- uses: actions/upload-artifact@v3
with:
Expand Down