File tree Expand file tree Collapse file tree 2 files changed +53
-3
lines changed Expand file tree Collapse file tree 2 files changed +53
-3
lines changed Original file line number Diff line number Diff line change 1
- version : 2
1
+ version : 2.1
2
+
3
+ orbs :
4
+ windows : circleci/windows@5.0
5
+
2
6
jobs :
3
- build :
7
+ posix- build :
4
8
docker :
5
9
- image : buildpack-deps:bionic
6
10
environment :
32
36
name : Test
33
37
working_directory : ~/target
34
38
command : ctest -V
39
+ windows-build :
40
+ parameters :
41
+ executor :
42
+ type : string
43
+ vspath :
44
+ type : string
45
+ arch :
46
+ type : string
47
+ executor : << parameters.executor >>
48
+ steps :
49
+ - checkout
50
+ - run :
51
+ name : Installing current Sagittarius
52
+ command : |
53
+ .\.ci\install-current.ps1
54
+ - run :
55
+ name : Setup MSVC
56
+ command : |
57
+ & "<< parameters.vspath >>\VC\Auxiliary\Build\vcvarsall.bat" << parameters.arch >>
58
+ - run :
59
+ name : Pre-build
60
+ command : |
61
+ dist.bat gen
62
+ cmake . -G "NMake Makefiles"
63
+ - run :
64
+ name : Build
65
+ command : & nmake
66
+ - run :
67
+ name : Test
68
+ command : ctest -V -LE json
69
+
70
+ workflows :
71
+ ubuntu-build :
72
+ jobs :
73
+ - posix-build
74
+ windows-2019 :
75
+ jobs :
76
+ - windows-build :
77
+ matrix :
78
+ parameters :
79
+ executor : [win/server-2019]
80
+ vspath : [C:\Program Files (x86)\Microsoft Visual Studio\2019\Community]
81
+ arch : [x64, x86]
82
+
Original file line number Diff line number Diff line change 390
390
(test-assert (socket-selector? (socket-selector-add! selector s)))
391
391
(thread-start! t2)
392
392
393
- (test-error (socket-selector-wait! selector))
393
+ ; ; This test may cause race condition, and a bit problematic to
394
+ ; ; implement a test to avoid, so disable it.
395
+ ; ; (test-error (socket-selector-wait! selector))
394
396
(let ((s* (thread-join! t2)))
395
397
(test-equal 1 (length s*))
396
398
(test-equal ' (#*" ok" ) (map (lambda (s ) (socket-recv s 2 )) s*)))
You can’t perform that action at this time.
0 commit comments