@@ -331,6 +331,13 @@ jobs:
331331 echo "Running emu_hw_vdf_client --list"
332332 ./emu_hw_vdf_client --list
333333
334+ - name : Run GoogleTest regressions (Ubuntu/macOS)
335+ if : matrix.config == 'optimized=1' && matrix.os != 'windows-latest'
336+ run : |
337+ cmake -S src -B build-regression -DBUILD_PYTHON=OFF -DBUILD_CHIAVDFC=OFF -DBUILD_VDF_CLIENT=OFF -DBUILD_VDF_BENCH=OFF -DBUILD_VDF_TESTS=ON -DBUILD_HW_TOOLS=OFF -DENABLE_GNU_ASM=ON
338+ cmake --build build-regression --target regression_unit_tests regression_io_tests
339+ ctest --test-dir build-regression --output-on-failure -R '^regression\.'
340+
334341 - name : Run vdf tests (optimized smoke)
335342 if : matrix.config == 'optimized=1' && matrix.os != 'windows-latest' && !startsWith(matrix.os, 'ubuntu')
336343 run : |
@@ -391,6 +398,14 @@ jobs:
391398 .\emu_hw_vdf_client.exe --list
392399 if ($LASTEXITCODE -ne 0) { throw "emu_hw_vdf_client --list failed with exit code $LASTEXITCODE" }
393400
401+ - name : Run GoogleTest regressions (Windows)
402+ if : matrix.os == 'windows-latest' && matrix.config == 'optimized=1'
403+ shell : pwsh
404+ run : |
405+ cd build
406+ $env:PATH = "$PWD;$PWD\..\src\hw\libft4222;$PWD\..\mpir_gc_x64;$env:PATH"
407+ ctest -C Release --output-on-failure -R '^regression\.'
408+
394409 - name : Run vdf tests (Windows, optimized smoke)
395410 if : matrix.os == 'windows-latest' && matrix.config == 'optimized=1'
396411 shell : pwsh
@@ -415,21 +430,6 @@ jobs:
415430 .\prover_test.exe
416431 if ($LASTEXITCODE -ne 0) { throw "prover_test failed with exit code $LASTEXITCODE" }
417432
418- - name : Run GoogleTest regressions (Unix)
419- if : matrix.config == 'optimized=1' && matrix.os != 'windows-latest'
420- run : |
421- cmake -S src -B build-regression -DBUILD_PYTHON=OFF -DBUILD_CHIAVDFC=OFF -DBUILD_VDF_CLIENT=OFF -DBUILD_VDF_BENCH=OFF -DBUILD_VDF_TESTS=ON -DBUILD_HW_TOOLS=OFF -DENABLE_GNU_ASM=ON
422- cmake --build build-regression --target regression_unit_tests regression_io_tests
423- ctest --test-dir build-regression --output-on-failure -R '^regression\.'
424-
425- - name : Run GoogleTest regressions (Windows)
426- if : matrix.os == 'windows-latest' && matrix.config == 'optimized=1'
427- shell : pwsh
428- run : |
429- cd build
430- $env:PATH = "$PWD;$PWD\..\src\hw\libft4222;$PWD\..\mpir_gc_x64;$env:PATH"
431- ctest -C Release --output-on-failure -R '^regression\.'
432-
433433 - name : Benchmark vdf_bench square (Ubuntu/Mac)
434434 if : matrix.config == 'optimized=1' && matrix.os != 'windows-latest'
435435 run : |
0 commit comments