File tree 1 file changed +14
-10
lines changed
1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -12,37 +12,37 @@ jobs:
12
12
image_name : ' ubuntu-latest'
13
13
deps : ' sudo apt-get install -y ninja-build clang libicu-dev'
14
14
build_type : ' Debug'
15
- test_target : ' check '
15
+ do_test : true
16
16
libtype_flag : ' '
17
17
Linux.ReleaseWithDebug :
18
18
image_name : ' ubuntu-latest'
19
19
deps : ' sudo apt-get install -y ninja-build clang libicu-dev'
20
20
build_type : ' RelWithDebInfo'
21
- test_target : ' check '
21
+ do_test : true
22
22
libtype_flag : ' '
23
23
Linux.Release :
24
24
image_name : ' ubuntu-latest'
25
25
deps : ' sudo apt-get install -y ninja-build clang libicu-dev'
26
26
build_type : ' Release'
27
- test_target : ' all '
27
+ do_test : false
28
28
libtype_flag : ' '
29
29
OSX.Debug :
30
30
image_name : ' macOS-latest'
31
31
deps : ' brew install ninja icu4c'
32
32
build_type : ' Debug'
33
- test_target : ' check '
33
+ do_test : true
34
34
libtype_flag : ' -DSTATIC_LIBRARY=ON'
35
35
OSX.ReleaseWithDebug :
36
36
image_name : ' macOS-latest'
37
37
deps : ' brew install ninja icu4c'
38
38
build_type : ' RelWithDebInfo'
39
- test_target : ' check '
39
+ do_test : true
40
40
libtype_flag : ' '
41
41
OSX.Release :
42
42
image_name : ' macOS-latest'
43
43
deps : ' brew install ninja icu4c'
44
44
build_type : ' Release'
45
- test_target : ' all '
45
+ do_test : false
46
46
libtype_flag : ' '
47
47
48
48
pool :
@@ -66,10 +66,14 @@ jobs:
66
66
67
67
- script : |
68
68
cd build
69
- ninja $TARGET
70
- displayName: 'Build and test'
71
- env:
72
- TARGET: $(test_target)
69
+ ninja
70
+ displayName: 'Build'
71
+
72
+ - script : |
73
+ cd build
74
+ ninja check
75
+ displayName: 'Test'
76
+ condition: eq(variables['do_test'], true)
73
77
74
78
- job : MSVC
75
79
timeoutInMinutes : 120
You can’t perform that action at this time.
0 commit comments