ci: increase timeout to 20 minutes
Этот коммит содержится в:
родитель
86f1e6aec4
коммит
4199be9780
2 изменённых файлов: 7 добавлений и 2 удалений
|
@ -117,7 +117,10 @@ commands:
|
||||||
key: wasi-libc-sysroot-systemclang-v3
|
key: wasi-libc-sysroot-systemclang-v3
|
||||||
paths:
|
paths:
|
||||||
- lib/wasi-libc/sysroot
|
- lib/wasi-libc/sysroot
|
||||||
- run: go test -v -tags=llvm<<parameters.llvm>> ./cgo ./compileopts ./compiler ./interp ./transform .
|
- run:
|
||||||
|
name: "Test TinyGo"
|
||||||
|
command: go test -v -timeout=20m -tags=llvm<<parameters.llvm>> ./cgo ./compileopts ./compiler ./interp ./transform .
|
||||||
|
no_output_timeout: 20m
|
||||||
- run: make gen-device -j4
|
- run: make gen-device -j4
|
||||||
- run: make smoketest XTENSA=0
|
- run: make smoketest XTENSA=0
|
||||||
- run: make tinygo-test
|
- run: make tinygo-test
|
||||||
|
@ -185,6 +188,7 @@ commands:
|
||||||
- run:
|
- run:
|
||||||
name: "Test TinyGo"
|
name: "Test TinyGo"
|
||||||
command: make ASSERT=1 test
|
command: make ASSERT=1 test
|
||||||
|
no_output_timeout: 20m
|
||||||
environment:
|
environment:
|
||||||
# Note: -p=2 limits parallelism to two jobs at a time, which is
|
# Note: -p=2 limits parallelism to two jobs at a time, which is
|
||||||
# necessary to keep memory consumption down and avoid OOM (for a
|
# necessary to keep memory consumption down and avoid OOM (for a
|
||||||
|
@ -346,6 +350,7 @@ commands:
|
||||||
- run:
|
- run:
|
||||||
name: "Test TinyGo"
|
name: "Test TinyGo"
|
||||||
command: make test
|
command: make test
|
||||||
|
no_output_timeout: 20m
|
||||||
- run:
|
- run:
|
||||||
name: "Build TinyGo release"
|
name: "Build TinyGo release"
|
||||||
command: |
|
command: |
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -184,7 +184,7 @@ tinygo:
|
||||||
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`" .
|
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`" .
|
||||||
|
|
||||||
test: wasi-libc
|
test: wasi-libc
|
||||||
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 .
|
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 .
|
||||||
|
|
||||||
TEST_PACKAGES = \
|
TEST_PACKAGES = \
|
||||||
compress/bzip2 \
|
compress/bzip2 \
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче