From 9a7ecf280774e15465791a240b8c004dab0474b6 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 5 Feb 2021 18:41:46 +0200 Subject: [PATCH] ci: limit the -skip-unused testing to the ubuntu CI jobs for now --- vlib/v/compiler_errors_test.v | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vlib/v/compiler_errors_test.v b/vlib/v/compiler_errors_test.v index 39bc1a6f61..a42a9660ae 100644 --- a/vlib/v/compiler_errors_test.v +++ b/vlib/v/compiler_errors_test.v @@ -86,8 +86,10 @@ fn test_all() { tasks.add('', module_dir, '-prod run', '.out', module_tests, true) 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, '-d no_backtrace -skip-unused run', '.skip_unused.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', + skip_unused_dir_tests, false) + } tasks.run() if github_job == 'ubuntu-tcc' { // these should be run serially, since they depend on setting and using environment variables