travis: print version information in build scripts
This commit is contained in:
parent
c5b57cfee4
commit
e97d921c8d
@ -3,7 +3,6 @@ compiler:
|
|||||||
- gcc
|
- gcc
|
||||||
script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/libtommath.a"
|
script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/libtommath.a"
|
||||||
env:
|
env:
|
||||||
- BUILDSCRIPT="printinfo.sh" BUILDNAME="" BUILDOPTIONS=""
|
|
||||||
- BUILDSCRIPT="run.sh" BUILDNAME="STOCK" BUILDOPTIONS=" "
|
- BUILDSCRIPT="run.sh" BUILDNAME="STOCK" BUILDOPTIONS=" "
|
||||||
- BUILDSCRIPT="run.sh" BUILDNAME="SMALL" BUILDOPTIONS="-DLTC_SMALL_CODE"
|
- BUILDSCRIPT="run.sh" BUILDNAME="SMALL" BUILDOPTIONS="-DLTC_SMALL_CODE"
|
||||||
- BUILDSCRIPT="run.sh" BUILDNAME="NOTABLES" BUILDOPTIONS="-DLTC_NO_TABLES"
|
- BUILDSCRIPT="run.sh" BUILDNAME="NOTABLES" BUILDOPTIONS="-DLTC_NO_TABLES"
|
||||||
|
4
run.sh
4
run.sh
@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# output version
|
||||||
|
bash printinfo.sh
|
||||||
|
|
||||||
bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
|
bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
|
||||||
if [ -a testok.txt ] && [ -f testok.txt ]; then
|
if [ -a testok.txt ] && [ -f testok.txt ]; then
|
||||||
echo
|
echo
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# output version
|
||||||
|
bash printinfo.sh
|
||||||
|
|
||||||
echo "$1 (Build Only, $2, $3)..."
|
echo "$1 (Build Only, $2, $3)..."
|
||||||
make clean 1>/dev/null 2>/dev/null
|
make clean 1>/dev/null 2>/dev/null
|
||||||
echo -n "building..."
|
echo -n "building..."
|
||||||
|
Loading…
Reference in New Issue
Block a user