From 6bd42327f923064bfb120e2d1e95376f3395fa1d Mon Sep 17 00:00:00 2001 From: wakiyamap Date: Tue, 13 Jun 2023 06:00:51 +0900 Subject: [PATCH 1/2] Add_ci_windows_build --- .github/workflows/build_wheels.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index bb10d7b..892a248 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -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 @@ -20,6 +20,11 @@ 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' - uses: actions/upload-artifact@v3 with: From 839037fc4a0c6b12c827220fe5023e99b9fdda20 Mon Sep 17 00:00:00 2001 From: WakiyamaP Date: Sun, 23 Jul 2023 10:31:31 +0900 Subject: [PATCH 2/2] Add_ci_build_test_win --- .github/workflows/build_wheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 892a248..910237b 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -25,6 +25,7 @@ jobs: 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: