From 9f07a549397f37c55a7cdeffbec0ff9bf6099efd Mon Sep 17 00:00:00 2001 From: SergeySeroshtan Date: Sat, 27 Apr 2024 10:16:10 -0400 Subject: [PATCH] Try windows build --- .github/workflows/build-windows-php.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-windows-php.yml b/.github/workflows/build-windows-php.yml index 2161a84a6..2f5726f28 100644 --- a/.github/workflows/build-windows-php.yml +++ b/.github/workflows/build-windows-php.yml @@ -32,16 +32,16 @@ jobs: arch: ${{ matrix.arch }} - name: Configure project run: > - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DVIRGIL_PACKAGE_PLATFORM_ARCH=${{ matrix.arch }} \ - -DVIRGIL_PACKAGE_LANGUAGE_VERSION=${{ matrix.php-version }} \ - -DCPACK_OUTPUT_FILE_PREFIX=php \ - -DENABLE_CLANGFORMAT=OFF \ - -DED25519_REF10=OFF -DED25519_AMD64_RADIX_64_24K=ON \ - -Bbuild -S. + cmake -G"NMake Makefiles" ^ + -DVIRGIL_LIB_PYTHIA=OFF ^ + -DCMAKE_BUILD_TYPE=Release ^ + -DVIRGIL_PACKAGE_PLATFORM_ARCH=${{ matrix.arch }} ^ + -DVIRGIL_PACKAGE_LANGUAGE_VERSION=${{ matrix.php-version }} ^ + -DCPACK_OUTPUT_FILE_PREFIX=php ^ + -DENABLE_CLANGFORMAT=OFF ^ + -Bbuild -S. - name: Build project - run: cmake --build build -- -j$(nproc) + run: cmake --build build -- -j%NUMBER_OF_PROCESSORS% - name: Test project working-directory: build run: ctest --verbose