File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 62
62
libzmq : " 4.3.4"
63
63
libzmqbuild : " cmake"
64
64
coverage : " -DCOVERAGE=ON"
65
+ aptinstall : " lcov"
65
66
# clang
66
67
- os : " ubuntu-latest"
67
68
cppstd : " 17"
70
71
drafts : " ON"
71
72
libzmq : " 4.3.4"
72
73
libzmqbuild : " cmake"
74
+ # macos
75
+ - os : " macos-latest"
76
+ cppstd : " 17"
77
+ cc : " clang"
78
+ cxx : " clang++"
79
+ drafts : " OFF"
80
+ libzmq : " 4.3.4"
81
+ libzmqbuild : false
82
+ brewinstall : " zeromq"
73
83
# windows
74
84
- os : " windows-2016"
75
85
cppstd : " 14"
@@ -94,14 +104,18 @@ jobs:
94
104
VERBOSE : 1
95
105
THREADS : 2
96
106
BUILDTYPE : " Debug"
97
- COVERAGE : " OFF" # TODO
98
107
99
108
steps :
100
109
- uses : actions/checkout@v2
101
110
102
111
- name : install_deps
103
- if : matrix.aptinstall
104
- run : sudo apt install ${{matrix.aptinstall}}
112
+ run : |
113
+ if [ ! -z "${{ matrix.aptinstall }}" ]; then
114
+ sudo apt install -y ${{ matrix.aptinstall }}
115
+ fi
116
+ if [ ! -z "${{ matrix.brewinstall }}" ]; then
117
+ brew install ${{ matrix.brewinstall }}
118
+ fi
105
119
106
120
- name : get_libzmq
107
121
run : |
@@ -165,7 +179,6 @@ jobs:
165
179
- name : lcov
166
180
if : ${{ matrix.coverage && success() }}
167
181
run : |
168
- sudo apt install -y lcov
169
182
lcov --capture --directory . --output-file coverage.info
170
183
lcov --remove coverage.info -o coverage_filtered.info \
171
184
'/usr/include/*' \
You can’t perform that action at this time.
0 commit comments