commit d35c69f0312bf3a3e11a2668c942bacdded34b4d from: Omar Polo date: Fri Feb 17 18:39:10 2023 UTC got-build-regress.sh: build gotd too; ok stsp@ commit - 98350b2093e571c5d8143e22d85c1f515a6c85f4 commit + d35c69f0312bf3a3e11a2668c942bacdded34b4d blob - e28ef4b462c922a18dc79fbf51e8e0ee0c2dded3 blob + 7edb5fbb0f79762a8be9b626fcc9eb2c407c4c7a --- util/got-build-regress.sh +++ util/got-build-regress.sh @@ -103,6 +103,12 @@ if [ "$build_status" -ne 0 ]; then mail $fromaddr_arg -s "$prog build failure" $recipients < build.log exit 0 fi +log_cmd build.log make -j $ncpu server +build_status="$?" +if [ "$build_status" -ne 0 ]; then + mail $fromaddr_arg -s "$prog build failure" $recipients < build.log + exit 0 +fi printf "\n\n\tRunning tests\n\n" >> build.log log_cmd regress.log env PATH=$HOME/bin:$PATH make regress GOT_TEST_ROOT="$testroot" @@ -148,6 +154,7 @@ log_cmd build.log make clean log_cmd build.log make obj log_cmd build.log make -j $ncpu GOT_RELEASE=Yes log_cmd build.log make -j $ncpu GOT_RELEASE=Yes webd +log_cmd build.log make -j $ncpu GOT_RELEASE=Yes server build_status="$?" if [ "$build_status" -ne 0 ]; then mail $fromaddr_arg -s "$prog release mode build failure" $recipients < build.log