|
12 | 12 | echo "date="`date` |
13 | 13 |
|
14 | 14 | # check sources |
15 | | -bash check_source.sh "CHECK_SOURCES" " " "$1" "$2" "$3" || exit 1 |
| 15 | +bash .ci/check_source.sh "CHECK_SOURCES" " " "$1" "$2" "$3" || exit 1 |
16 | 16 |
|
17 | 17 | mk="$1" |
18 | 18 |
|
19 | 19 | [ "$LTC_COVERAGE" != "" ] && mk="$mk COVERAGE=1" |
20 | 20 |
|
| 21 | +# meta builds |
| 22 | +bash .ci/meta_builds.sh "META_BUILS" " " "$mk" "$2" "$3" || exit 1 |
| 23 | + |
| 24 | +# valgrind build |
| 25 | +bash .ci/valgrind.sh "VALGRIND" " " "$mk" "$2" "$3" || exit 1 |
| 26 | + |
21 | 27 | # stock build |
22 | | -bash run.sh "STOCK" " " "$mk" "$2" "$3" || exit 1 |
| 28 | +bash .ci/run.sh "STOCK" " " "$mk" "$2" "$3" || exit 1 |
23 | 29 |
|
24 | 30 | # EASY build |
25 | | -bash run.sh "EASY" "-DLTC_EASY" "$mk" "$2" "$3" || exit 1 |
| 31 | +bash .ci/run.sh "EASY" "-DLTC_EASY" "$mk" "$2" "$3" || exit 1 |
26 | 32 |
|
27 | 33 | # SMALL code |
28 | | -bash run.sh "SMALL" "-DLTC_SMALL_CODE" "$mk" "$2" "$3" || exit 1 |
| 34 | +bash .ci/run.sh "SMALL" "-DLTC_SMALL_CODE" "$mk" "$2" "$3" || exit 1 |
29 | 35 |
|
30 | 36 | # NOTABLES |
31 | | -bash run.sh "NOTABLES" "-DLTC_NO_TABLES" "$mk" "$2" "$3" || exit 1 |
| 37 | +bash .ci/run.sh "NOTABLES" "-DLTC_NO_TABLES" "$mk" "$2" "$3" || exit 1 |
32 | 38 |
|
33 | 39 | # SMALL+NOTABLES |
34 | | -bash run.sh "SMALL+NOTABLES" "-DLTC_SMALL_CODE -DLTC_NO_TABLES" "$mk" "$2" "$3" || exit 1 |
| 40 | +bash .ci/run.sh "SMALL+NOTABLES" "-DLTC_SMALL_CODE -DLTC_NO_TABLES" "$mk" "$2" "$3" || exit 1 |
35 | 41 |
|
36 | 42 | # CLEANSTACK |
37 | | -bash run.sh "CLEANSTACK" "-DLTC_CLEAN_STACK" "$mk" "$2" "$3" || exit 1 |
| 43 | +bash .ci/run.sh "CLEANSTACK" "-DLTC_CLEAN_STACK" "$mk" "$2" "$3" || exit 1 |
38 | 44 |
|
39 | 45 | # CLEANSTACK + SMALL |
40 | | -bash run.sh "CLEANSTACK+SMALL" "-DLTC_SMALL_CODE -DLTC_CLEAN_STACK" "$mk" "$2" "$3" || exit 1 |
| 46 | +bash .ci/run.sh "CLEANSTACK+SMALL" "-DLTC_SMALL_CODE -DLTC_CLEAN_STACK" "$mk" "$2" "$3" || exit 1 |
41 | 47 |
|
42 | 48 | # CLEANSTACK + NOTABLES |
43 | | -bash run.sh "CLEANSTACK+NOTABLES" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK" "$mk" "$2" "$3" || exit 1 |
| 49 | +bash .ci/run.sh "CLEANSTACK+NOTABLES" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK" "$mk" "$2" "$3" || exit 1 |
44 | 50 |
|
45 | 51 | # CLEANSTACK + NOTABLES + SMALL |
46 | | -bash run.sh "CLEANSTACK+NOTABLES+SMALL" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK -DLTC_SMALL_CODE" "$mk" "$2" "$3" || exit 1 |
| 52 | +bash .ci/run.sh "CLEANSTACK+NOTABLES+SMALL" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK -DLTC_SMALL_CODE" "$mk" "$2" "$3" || exit 1 |
47 | 53 |
|
48 | 54 | # NO_FAST |
49 | | -bash run.sh "NO_FAST" "-DLTC_NO_FAST" "$mk" "$2" "$3" || exit 1 |
| 55 | +bash .ci/run.sh "NO_FAST" "-DLTC_NO_FAST" "$mk" "$2" "$3" || exit 1 |
50 | 56 |
|
51 | 57 | # NO_FAST + NOTABLES |
52 | | -bash run.sh "NO_FAST+NOTABLES" "-DLTC_NO_FAST -DLTC_NO_TABLES" "$mk" "$2" "$3" || exit 1 |
| 58 | +bash .ci/run.sh "NO_FAST+NOTABLES" "-DLTC_NO_FAST -DLTC_NO_TABLES" "$mk" "$2" "$3" || exit 1 |
53 | 59 |
|
54 | 60 | # NO_ASM |
55 | | -bash run.sh "NO_ASM" "-DLTC_NO_ASM" "$mk" "$2" "$3" || exit 1 |
| 61 | +bash .ci/run.sh "NO_ASM" "-DLTC_NO_ASM" "$mk" "$2" "$3" || exit 1 |
56 | 62 |
|
57 | 63 | # NO_TIMING_RESISTANCE |
58 | | -bash run.sh "NO_TIMING_RESISTANCE" "-DLTC_NO_ECC_TIMING_RESISTANT -DLTC_NO_RSA_BLINDING" "$mk" "$2" "$3" || exit 1 |
| 64 | +bash .ci/run.sh "NO_TIMING_RESISTANCE" "-DLTC_NO_ECC_TIMING_RESISTANT -DLTC_NO_RSA_BLINDING" "$mk" "$2" "$3" || exit 1 |
59 | 65 |
|
60 | 66 | # CLEANSTACK+NOTABLES+SMALL+NO_ASM+NO_TIMING_RESISTANCE |
61 | | -bash run.sh "CLEANSTACK+NOTABLES+SMALL+NO_ASM+NO_TIMING_RESISTANCE" "-DLTC_CLEAN_STACK -DLTC_NO_TABLES -DLTC_SMALL_CODE -DLTC_NO_ECC_TIMING_RESISTANT -DLTC_NO_RSA_BLINDING" "$mk" "$2" "$3" || exit 1 |
62 | | - |
63 | | -# test build with no testing |
64 | | -bash testbuild.sh "NOTEST" "-DLTC_NO_TEST" "$mk" "$2" "$3" || exit 1 |
65 | | - |
66 | | -# test build with no file routines |
67 | | -bash testbuild.sh "NOFILE" "-DLTC_NO_FILE" "$mk" "$2" "$3" || exit 1 |
| 67 | +bash .ci/run.sh "CLEANSTACK+NOTABLES+SMALL+NO_ASM+NO_TIMING_RESISTANCE" "-DLTC_CLEAN_STACK -DLTC_NO_TABLES -DLTC_SMALL_CODE -DLTC_NO_ECC_TIMING_RESISTANT -DLTC_NO_RSA_BLINDING" "$mk" "$2" "$3" || exit 1 |
68 | 68 |
|
69 | 69 | # ref: $Format:%D$ |
70 | 70 | # git commit: $Format:%H$ |
|
0 commit comments