File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 25
25
- /^ci\/.*$/
26
26
27
27
jobs :
28
- Build :
28
+ Testme :
29
29
runs-on : ${{ matrix.os }}
30
30
strategy :
31
31
matrix :
@@ -146,3 +146,26 @@ jobs:
146
146
cat test_*.log || true
147
147
cat valgrind_test.log || true
148
148
cat gcc_errors_*.log || true
149
+
150
+ CMake :
151
+ runs-on : ${{ matrix.os }}
152
+ strategy :
153
+ matrix :
154
+ os : [ ubuntu-18.04, ubuntu-20.04 ]
155
+ config :
156
+ # Static library build
157
+ - { CMAKEOPTIONS: '', TARGET: 'check' }
158
+ # Shared library build
159
+ - { CMAKEOPTIONS: '-DBUILD_SHARED_LIBS=On', TARGET: 'check'}
160
+ steps :
161
+ - uses : actions/checkout@v2
162
+ - name : install dependencies
163
+ run : |
164
+ sudo apt-get update -qq
165
+ sudo apt-get install cmake
166
+ - name : build
167
+ run : |
168
+ mkdir build
169
+ cd build
170
+ cmake ${{ matrix.config.CMAKEOPTIONS }} ..
171
+ make -j$(nproc) ${{ matrix.config.TARGET }}
You can’t perform that action at this time.
0 commit comments