Skip to content

Commit 4199be9

Browse files
aykevldeadprogram
authored andcommitted
ci: increase timeout to 20 minutes
1 parent 86f1e6a commit 4199be9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.circleci/config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ commands:
117117
key: wasi-libc-sysroot-systemclang-v3
118118
paths:
119119
- lib/wasi-libc/sysroot
120-
- run: go test -v -tags=llvm<<parameters.llvm>> ./cgo ./compileopts ./compiler ./interp ./transform .
120+
- run:
121+
name: "Test TinyGo"
122+
command: go test -v -timeout=20m -tags=llvm<<parameters.llvm>> ./cgo ./compileopts ./compiler ./interp ./transform .
123+
no_output_timeout: 20m
121124
- run: make gen-device -j4
122125
- run: make smoketest XTENSA=0
123126
- run: make tinygo-test
@@ -185,6 +188,7 @@ commands:
185188
- run:
186189
name: "Test TinyGo"
187190
command: make ASSERT=1 test
191+
no_output_timeout: 20m
188192
environment:
189193
# Note: -p=2 limits parallelism to two jobs at a time, which is
190194
# necessary to keep memory consumption down and avoid OOM (for a
@@ -346,6 +350,7 @@ commands:
346350
- run:
347351
name: "Test TinyGo"
348352
command: make test
353+
no_output_timeout: 20m
349354
- run:
350355
name: "Build TinyGo release"
351356
command: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ tinygo:
184184
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) build -buildmode exe -o build/tinygo$(EXE) -tags byollvm -ldflags="-X main.gitSha1=`git rev-parse --short HEAD`" .
185185

186186
test: wasi-libc
187-
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v -buildmode exe -tags byollvm ./builder ./cgo ./compileopts ./compiler ./interp ./transform .
187+
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v -timeout=20m -buildmode exe -tags byollvm ./builder ./cgo ./compileopts ./compiler ./interp ./transform .
188188

189189
TEST_PACKAGES = \
190190
compress/bzip2 \

0 commit comments

Comments
 (0)