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

ci: use pre built docker containers for musl (#5759)

This commit is contained in:
Tomas Hellström
2020-07-08 20:30:57 +02:00
committed by GitHub
parent c0fa31e75a
commit 2790890bc2
3 changed files with 72 additions and 40 deletions

View File

@@ -8,14 +8,16 @@ const (
skip_test_files = [
'vlib/net/http/http_httpbin_test.v',
]
skip_on_musl = [
'vlib/net/http/http_test.v',
skip_on_musl = []string{}
skip_on_ubuntu_musl =
[
'vlib/net/http/cookie_test.v',
'vlib/net/http/http_test.v',
'vlib/net/websocket/ws_test.v'
'vlib/sqlite/sqlite_test.v',
'vlib/orm/orm_test.v',
'vlib/clipboard/clipboard_test.v',
'vlib/v/gen/js/jsgen_test.v',
// 'vlib/v/gen/js/jsgen_test.v',
]
skip_on_linux = []string{}
skip_on_non_linux = [
@@ -49,6 +51,9 @@ fn main() {
if os.getenv('V_CI_MUSL').len > 0 {
tsession.skip_files << skip_on_musl
}
if os.getenv('V_CI_UBUNTU_MUSL').len > 0 {
tsession.skip_files << skip_on_ubuntu_musl
}
$if !linux {
tsession.skip_files << skip_on_non_linux
}