We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b533cda commit 5cfcc45Copy full SHA for 5cfcc45
ci-build.sh
@@ -67,6 +67,20 @@ SRC_DIR=$(pwd)
67
mkdir -p "build-${CC}-${PROTOCOL}"
68
cd "build-${CC}-${PROTOCOL}"
69
70
+# Check to see if we _just_ tested this rev in
71
+# a merge queue, and if so don't bother doing
72
+# it again. Wastes billable CPU time.
73
+if [ -e prev-pass-rev ]
74
+ PREV_REV=$(cat prev-pass-rev)
75
+ CURR_REV=$(git rev-parse HEAD)
76
+ if [ "${PREV_REV}" = "${CURR_REV}" ]
77
+ then
78
+ exit 0
79
+ fi
80
+ rm prev-pass-rev
81
+fi
82
+
83
84
# restore source file mtimes based on content hashes
85
for DIR in src lib
86
do
@@ -206,4 +220,6 @@ time make check
206
220
207
221
echo All done
208
222
date
223
224
+git rev-parse HEAD >prev-pass-rev
209
225
exit 0
0 commit comments