1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gen.golang: globally skip go backend tests & run only on ubuntu-tcc

This commit is contained in:
Joe Conigliaro 2022-06-29 20:55:43 +10:00
parent 5462f06d6c
commit 86549feafa
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1
2 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,7 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev valgrind sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev valgrind
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
sudo apt-get install --quiet -y golang-go
## The following is needed for examples/wkhtmltopdf.v ## The following is needed for examples/wkhtmltopdf.v
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb
sudo apt-get install --quiet -y xfonts-75dpi xfonts-base sudo apt-get install --quiet -y xfonts-75dpi xfonts-base
@ -84,6 +85,8 @@ jobs:
run: ./v tutorials/building_a_simple_web_blog_with_vweb/code/blog run: ./v tutorials/building_a_simple_web_blog_with_vweb/code/blog
- name: Build cmd/tools/fast - name: Build cmd/tools/fast
run: cd cmd/tools/fast && ../../../v fast.v && ./fast run: cd cmd/tools/fast && ../../../v fast.v && ./fast
- name: Test Go backend
run: ./v vlib/v/gen/golang/tests/golang_test.v
- name: V self compilation with -usecache - name: V self compilation with -usecache
run: | run: |
unset VFLAGS unset VFLAGS

View File

@ -90,6 +90,7 @@ const (
'vlib/context/deadline_test.v' /* sometimes blocks */, 'vlib/context/deadline_test.v' /* sometimes blocks */,
'vlib/mysql/mysql_orm_test.v' /* mysql not installed */, 'vlib/mysql/mysql_orm_test.v' /* mysql not installed */,
'vlib/pg/pg_orm_test.v' /* pg not installed */, 'vlib/pg/pg_orm_test.v' /* pg not installed */,
'vlib/v/gen/golang/tests/golang_test.v' /* we will manually run this on only ubuntu-tcc for now */,
] ]
skip_fsanitize_too_slow = [ skip_fsanitize_too_slow = [
// These tests are too slow to be run in the CI on each PR/commit // These tests are too slow to be run in the CI on each PR/commit