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

ci: limit the -skip-unused testing to the ubuntu CI jobs for now

This commit is contained in:
Delyan Angelov 2021-02-05 18:41:46 +02:00
parent a6ecc19040
commit 9a7ecf2807
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -86,8 +86,10 @@ fn test_all() {
tasks.add('', module_dir, '-prod run', '.out', module_tests, true) tasks.add('', module_dir, '-prod run', '.out', module_tests, true)
tasks.add('', run_dir, 'run', '.run.out', run_tests, false) tasks.add('', run_dir, 'run', '.run.out', run_tests, false)
tasks.add('', skip_unused_dir, 'run', '.run.out', skip_unused_dir_tests, false) tasks.add('', skip_unused_dir, 'run', '.run.out', skip_unused_dir_tests, false)
if github_job.starts_with('ubuntu') {
tasks.add('', skip_unused_dir, '-d no_backtrace -skip-unused run', '.skip_unused.run.out', tasks.add('', skip_unused_dir, '-d no_backtrace -skip-unused run', '.skip_unused.run.out',
skip_unused_dir_tests, false) skip_unused_dir_tests, false)
}
tasks.run() tasks.run()
if github_job == 'ubuntu-tcc' { if github_job == 'ubuntu-tcc' {
// these should be run serially, since they depend on setting and using environment variables // these should be run serially, since they depend on setting and using environment variables