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

pull/8591/head
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
1 changed files with 4 additions and 2 deletions

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)
tasks.add('', skip_unused_dir, '-d no_backtrace -skip-unused run', '.skip_unused.run.out', if github_job.starts_with('ubuntu') {
skip_unused_dir_tests, false) tasks.add('', skip_unused_dir, '-d no_backtrace -skip-unused run', '.skip_unused.run.out',
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