File tree Expand file tree Collapse file tree 2 files changed +3
-35
lines changed Expand file tree Collapse file tree 2 files changed +3
-35
lines changed Original file line number Diff line number Diff line change @@ -378,35 +378,3 @@ task:
378378  test_script :
379379    - cd sage 
380380    - sage prove_group_implementations.sage 
381- 
382- task :
383-   name : " x86_64: Windows (VS 2022)" 
384-   windows_container :
385-     image : cirrusci/windowsservercore:visualstudio2022 
386-     cpu : 4 
387-     memory : 3840MB 
388-   env :
389-     x64_NATIVE_TOOLS : ' "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"' 
390-     #  Ignore MSBuild warning MSB8029.
391-     #  See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
392-     IgnoreWarnIntDirInTempDetected : ' true' 
393-   matrix :
394-     - env :
395-         BUILD_SHARED_LIBS : ON 
396-     - env :
397-         BUILD_SHARED_LIBS : OFF 
398-   git_show_script :
399-     #  Print commit to allow reproducing the job outside of CI.
400-     - git show --no-patch 
401-   configure_script :
402-     - ' %x64_NATIVE_TOOLS%' 
403-     - cmake -E env CFLAGS="/WX" cmake -A x64 -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% 
404-   build_script :
405-     - ' %x64_NATIVE_TOOLS%' 
406-     - cmake --build build --config RelWithDebInfo -- -property:UseMultiToolTask=true;CL_MPcount=5 
407-   check_script :
408-     - ' %x64_NATIVE_TOOLS%' 
409-     - ctest -C RelWithDebInfo --test-dir build -j 5 
410-     - build\src\RelWithDebInfo\bench_ecmult.exe 
411-     - build\src\RelWithDebInfo\bench_internal.exe 
412-     - build\src\RelWithDebInfo\bench.exe 
Original file line number Diff line number Diff line change 1212
1313jobs :
1414  win64-native :
15-     name : " x86_64: Windows ( VS 2022) " 
15+     name : " x86_64: Windows,  VS 2022" 
1616    #  See: https://github.com/actions/runner-images#available-images.
1717    runs-on : windows-2022 
1818
1919    strategy :
2020      fail-fast : false 
2121      matrix :
22-         build_shared_libs : ['ON ', 'OFF '] 
22+         lib_type : ['shared ', 'static '] 
2323
2424    steps :
2525      - name : Checkout 
2626        uses : actions/checkout@v3 
2727
2828      - name : Generate buildsystem 
29-         run : cmake -E env CFLAGS="/WX" cmake -B build -A x64 -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=${{ matrix.build_shared_libs  }} 
29+         run : cmake -E env CFLAGS="/WX" cmake -B build -A x64 -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=${{ matrix.lib_type == 'shared' && 'ON' || 'OFF'  }} 
3030
3131      - name : Build 
3232        run : cmake --build build --config RelWithDebInfo -- /p:UseMultiToolTask=true /maxCpuCount 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments