ci: use -silent so failures are easier to spot in the logs

pull/6651/head
Delyan Angelov 2020-10-18 19:38:45 +03:00
parent 7bc94fff9a
commit d75b9c704c
1 changed files with 16 additions and 16 deletions

View File

@ -124,14 +124,14 @@ jobs:
- name: v self compilation - name: v self compilation
run: ./v -o v2 cmd/v && ./v2 -o v3 cmd/v && ./v3 -o v4 cmd/v run: ./v -o v2 cmd/v && ./v2 -o v3 cmd/v && ./v3 -o v4 cmd/v
- name: Fixed tests - name: Fixed tests
run: ./v test-fixed run: ./v -silent test-fixed
- name: Test building v tools - name: Test building v tools
run: ./v build-tools run: ./v -silent build-tools
- name: v doctor - name: v doctor
run: | run: |
./v doctor ./v doctor
# - name: Test v binaries - name: Test v binaries
# run: ./v -silent build-vbinaries run: ./v -silent build-vbinaries
# Alpine docker pre-built container # Alpine docker pre-built container
alpine-docker-musl-gcc: alpine-docker-musl-gcc:
@ -153,7 +153,7 @@ jobs:
make CC=clang make CC=clang
- name: Test V fixed tests - name: Test V fixed tests
run: | run: |
v test-fixed v -silent test-fixed
macos: macos:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -194,9 +194,9 @@ jobs:
- name: Test symlink - name: Test symlink
run: ./v symlink && v -o v2 cmd/v run: ./v symlink && v -o v2 cmd/v
- name: Fixed tests - name: Fixed tests
run: VJOBS=1 ./v test-fixed run: VJOBS=1 ./v -silent test-fixed
- name: Build examples - name: Build examples
run: ./v build-examples run: ./v -silent build-examples
- name: v doctor - name: v doctor
run: | run: |
./v doctor ./v doctor
@ -252,11 +252,11 @@ jobs:
run: ./v -o v2 cmd/v && ./v2 -o v3 cmd/v && ./v3 -o v4 cmd/v run: ./v -o v2 cmd/v && ./v2 -o v3 cmd/v && ./v3 -o v4 cmd/v
- name: Fixed tests - name: Fixed tests
run: | run: |
./v test-fixed ./v -silent test-fixed
- name: Fixed tests (-prod) - name: Fixed tests (-prod)
run: ./v -o vprod -prod cmd/v && ./vprod test-fixed run: ./v -o vprod -prod cmd/v && ./vprod -silent test-fixed
- name: Build examples - name: Build examples
run: ./v build-examples run: ./v -silent build-examples
- name: Build modules - name: Build modules
run: | run: |
./v build-module vlib/os ./v build-module vlib/os
@ -318,7 +318,7 @@ jobs:
echo $VFLAGS && make -j4 && ./v -cg -o v cmd/v echo $VFLAGS && make -j4 && ./v -cg -o v cmd/v
- name: Test V fixed tests - name: Test V fixed tests
run: | run: |
./v test-fixed ./v -silent test-fixed
# ubuntu-musl: # ubuntu-musl:
# runs-on: ubuntu-18.04 # runs-on: ubuntu-18.04
@ -345,7 +345,7 @@ jobs:
# - name: quick debug # - name: quick debug
# run: ./v -stats vlib/strconv/format_test.v # run: ./v -stats vlib/strconv/format_test.v
# - name: Fixed tests # - name: Fixed tests
# run: ./v test-fixed # run: ./v -silent test-fixed
ubuntu-llvm-mingw: ubuntu-llvm-mingw:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
@ -376,7 +376,7 @@ jobs:
## .\.github\workflows\windows-install-sdl.bat ## .\.github\workflows\windows-install-sdl.bat
- name: Fixed tests - name: Fixed tests
run: | run: |
.\v.exe test-fixed .\v.exe -silent test-fixed
# - name: Test # - name: Test
# run: | # run: |
# .\v.exe -silent test-compiler # .\v.exe -silent test-compiler
@ -410,7 +410,7 @@ jobs:
- name: Fixed tests - name: Fixed tests
run: | run: |
./v -cg cmd\tools\vtest-fixed.v ./v -cg cmd\tools\vtest-fixed.v
./v test-fixed ./v -silent test-fixed
- name: v doctor - name: v doctor
run: | run: |
./v doctor ./v doctor
@ -450,7 +450,7 @@ jobs:
## .\.github\workflows\windows-install-sdl.bat ## .\.github\workflows\windows-install-sdl.bat
- name: Fixed tests - name: Fixed tests
run: | run: |
.\v.exe test-fixed .\v.exe -silent test-fixed
# - name: Test # - name: Test
# run: | # run: |
# .\v.exe -silent test-compiler # .\v.exe -silent test-compiler
@ -517,7 +517,7 @@ jobs:
- name: V self compilation with g++ - name: V self compilation with g++
run: ./v -cc g++-9 -o v2 cmd/v && ./v2 -cc g++-9 -o v3 cmd/v run: ./v -cc g++-9 -o v2 cmd/v && ./v2 -cc g++-9 -o v3 cmd/v
## - name: Running tests with g++ ## - name: Running tests with g++
## run: ./v -cc g++-9 test-fixed ## run: ./v -cc g++-9 -silent test-fixed
install-modules: install-modules:
runs-on: ubuntu-latest runs-on: ubuntu-latest