ci: be more verbose when running make.bat on the CI

pull/13501/head
Delyan Angelov 2022-02-17 13:23:46 +02:00
parent 07b15a209a
commit 554a689213
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 14 additions and 6 deletions

View File

@ -416,6 +416,7 @@ jobs:
timeout-minutes: 121
env:
VFLAGS: -cc gcc
VERBOSE_MAKE: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
@ -426,7 +427,9 @@ jobs:
gcc --version
.\make.bat -gcc
- name: Test new v.c
run: .\v.exe -o v.c cmd/v && gcc -Werror -I ./thirdparty/stdatomic/win -municode -w v.c
run: |
.\v.exe -o v.c cmd/v
gcc -Werror -I ./thirdparty/stdatomic/win -municode -w v.c
- name: Install dependencies
run: |
.\v.exe setup-freetype
@ -441,8 +444,8 @@ jobs:
./cmd/tools/test_if_v_test_system_works
- name: Self tests
run: .\v.exe test-self
# - name: Test
# run: .\v.exe test-all
# - name: Test
# run: .\v.exe test-all
- name: Test v->js
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
- name: Test v binaries
@ -457,6 +460,7 @@ jobs:
timeout-minutes: 121
env:
VFLAGS: -cc msvc
VERBOSE_MAKE: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
@ -502,6 +506,7 @@ jobs:
VFLAGS: -cc tcc -no-retry-compilation
VJOBS: 1
VTEST_SHOW_START: 1
VERBOSE_MAKE: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
@ -511,7 +516,9 @@ jobs:
run: |
.\make.bat -tcc
- name: Test new v.c
run: .\v.exe -o v.c cmd/v && .\thirdparty\tcc\tcc.exe -I ./thirdparty/stdatomic/win -Werror -w -ladvapi32 -bt10 v.c
run: |
.\v.exe -o v.c cmd/v
.\thirdparty\tcc\tcc.exe -I ./thirdparty/stdatomic/win -Werror -w -ladvapi32 -bt10 v.c
- name: Install dependencies
run: |
.\v.exe setup-freetype

View File

@ -1,5 +1,6 @@
@echo off
setlocal EnableDelayedExpansion EnableExtensions
@setlocal EnableDelayedExpansion EnableExtensions
IF NOT DEFINED VERBOSE_MAKE @echo off
REM Option flags
set /a shift_counter=0