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 6262 libzmq : " 4.3.4"
6363 libzmqbuild : " cmake"
6464 coverage : " -DCOVERAGE=ON"
65+ aptinstall : " lcov"
6566 # clang
6667 - os : " ubuntu-latest"
6768 cppstd : " 17"
7071 drafts : " ON"
7172 libzmq : " 4.3.4"
7273 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"
7383 # windows
7484 - os : " windows-2016"
7585 cppstd : " 14"
@@ -94,14 +104,18 @@ jobs:
94104 VERBOSE : 1
95105 THREADS : 2
96106 BUILDTYPE : " Debug"
97- COVERAGE : " OFF" # TODO
98107
99108 steps :
100109 - uses : actions/checkout@v2
101110
102111 - 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
105119
106120 - name : get_libzmq
107121 run : |
@@ -165,7 +179,6 @@ jobs:
165179 - name : lcov
166180 if : ${{ matrix.coverage && success() }}
167181 run : |
168- sudo apt install -y lcov
169182 lcov --capture --directory . --output-file coverage.info
170183 lcov --remove coverage.info -o coverage_filtered.info \
171184 '/usr/include/*' \
You can’t perform that action at this time.
0 commit comments