Browse code

Reduce timeouts for checking build computers.

Andrew Alderwick authored on 12/11/2022 11:03:56
Showing 1 changed files
... ...
@@ -46,7 +46,7 @@ tasks:
46 46
         done
47 47
         [ -e ~/.ssh/id_rsa ] || complete-build
48 48
     - build-windows: |
49
-        if ssh win true; then
49
+        if ssh -o ConnectTimeout=10 win true; then
50 50
             ssh win "export PATH=\"\${PATH}:/mingw64/bin\"; set -ex; cd uxn; git fetch; git checkout .; git clean -xfd; git checkout $(cd uxn && git rev-parse HEAD); MSYSTEM=MSYS ./build.sh --no-run"
51 51
             rsync -rp win:uxn/bin/ build/uxn-win64/uxn/
52 52
         else
... ...
@@ -54,7 +54,7 @@ tasks:
54 54
             touch out/needs-solar-build
55 55
         fi
56 56
     - build-macos: |
57
-        if ssh mac true; then
57
+        if ssh -o ConnectTimeout=10 mac true; then
58 58
             ssh mac "export PATH=\"\${PATH}:/usr/local/bin\"; set -ex; cd uxn; git fetch; git checkout .; git clean -xfd; git checkout $(cd uxn && git rev-parse HEAD); ./build.sh --no-run"
59 59
             rsync -rp mac:uxn/bin/ build/uxn-mac64/uxn/
60 60
         else
... ...
@@ -84,6 +84,6 @@ tasks:
84 84
         acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz
85 85
         acurl -fsS "https://pages.sr.ht/publish/${SITE}" -Fcontent=@out.tar.gz -Fprotocol=GEMINI
86 86
     - build-9front: |
87
-        if ssh 9front true; then
87
+        if ssh -o ConnectTimeout=10 9front true; then
88 88
             ssh 9front "$(cd uxn && git rev-parse HEAD)"
89 89
         fi