mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: add more skips for different CI jobs
This commit is contained in:
parent
7fb2718609
commit
29b1796791
@ -28,7 +28,16 @@ pub const test_only_fn = os.getenv('VTEST_ONLY_FN').split_any(',')
|
||||
|
||||
pub const is_node_present = os.execute('node --version').exit_code == 0
|
||||
|
||||
pub const all_processes = os.execute('ps ax').output.split_any('\r\n')
|
||||
pub const all_processes = get_all_processes()
|
||||
|
||||
fn get_all_processes() []string {
|
||||
$if windows {
|
||||
// TODO
|
||||
return []
|
||||
} $else {
|
||||
return os.execute('ps ax').output.split_any('\r\n')
|
||||
}
|
||||
}
|
||||
|
||||
pub struct TestSession {
|
||||
pub mut:
|
||||
@ -178,13 +187,24 @@ pub fn new_test_session(_vargs string, will_compile bool) TestSession {
|
||||
}
|
||||
}
|
||||
$if windows {
|
||||
// TODO: remove when closures on windows are supported
|
||||
// TODO: remove when closures on windows are supported...
|
||||
skip_files << 'examples/pendulum-simulation/animation.v'
|
||||
skip_files << 'examples/pendulum-simulation/full.v'
|
||||
skip_files << 'examples/pendulum-simulation/parallel.v'
|
||||
skip_files << 'examples/pendulum-simulation/parallel_with_iw.v'
|
||||
skip_files << 'examples/pendulum-simulation/sequential.v'
|
||||
}
|
||||
if testing.github_job == 'ubuntu-docker-musl' {
|
||||
skip_files << 'vlib/net/openssl/openssl_compiles_test.v'
|
||||
}
|
||||
if testing.github_job == 'tests-sanitize-memory-clang' {
|
||||
skip_files << 'vlib/net/openssl/openssl_compiles_test.v'
|
||||
}
|
||||
if testing.github_job == 'windows-tcc' {
|
||||
// TODO: fix these by adding declarations for the missing functions in the prebuilt tcc
|
||||
skip_files << 'vlib/net/mbedtls/mbedtls_compiles_test.v'
|
||||
skip_files << 'vlib/net/ssl/ssl_compiles_test.v'
|
||||
}
|
||||
if testing.github_job != 'sokol-shaders-can-be-compiled' {
|
||||
// These examples need .h files that are produced from the supplied .glsl files,
|
||||
// using by the shader compiler tools in https://github.com/floooh/sokol-tools-bin/archive/pre-feb2021-api-changes.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user