@@ -12,19 +12,22 @@ jobs:
12
12
run_tests :
13
13
runs-on : [self-hosted]
14
14
15
+ strategy :
16
+ matrix :
17
+ target : [
18
+ blueprint_hashes_plonk_sha256_process_test,
19
+ blueprint_hashes_plonk_sha512_process_test,
20
+ blueprint_non_native_plonk_non_native_demo_test,
21
+ blueprint_non_native_plonk_non_native_range_test,
22
+ blueprint_non_native_plonk_fixed_base_mul_test,
23
+ blueprint_non_native_plonk_complete_addition_test,
24
+ blueprint_non_native_plonk_var_base_mul_per_bit_test,
25
+ blueprint_non_native_plonk_variable_base_multiplication_test
26
+ ] # Tests to execute
27
+
15
28
env :
16
29
SUITE_REPO : " NilFoundation/crypto3"
17
30
LIB_NAME : " blueprint"
18
- TARGETS : "
19
- blueprint_hashes_plonk_sha256_process_test
20
- blueprint_hashes_plonk_sha512_process_test
21
- blueprint_non_native_plonk_non_native_demo_test
22
- blueprint_non_native_plonk_non_native_range_test
23
- blueprint_non_native_plonk_fixed_base_mul_test
24
- blueprint_non_native_plonk_complete_addition_test
25
- blueprint_non_native_plonk_var_base_mul_per_bit_test
26
- blueprint_non_native_plonk_variable_base_multiplication_test
27
- " # Tests to execute
28
31
29
32
steps :
30
33
- name : Cleanup # TODO - move to scripts on runner
@@ -63,14 +66,12 @@ jobs:
63
66
mkdir build
64
67
cd build
65
68
cmake ${{ env.CMAKE_ARGS }} ..
66
- cmake --build . -t ${{ env.TARGETS }}
69
+ cmake --build . -t ${{ matrix.target }}
67
70
68
71
- name : Run tests
69
72
working-directory : ./build
70
73
run : |
71
74
cd libs/${{ env.LIB_NAME }}/test
72
- for target in ${{ env.TARGETS }}
73
- do
74
- echo $target
75
- ./$target
76
- done
75
+ COLOR='\033[0;33m'
76
+ echo -e "${COLOR}${{ matrix.target }}"
77
+ ./${{ matrix.target }}
0 commit comments