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 2525 - /^ci\/.*$/
2626
2727jobs :
28- Build :
28+ Testme :
2929 runs-on : ${{ matrix.os }}
3030 strategy :
3131 matrix :
@@ -146,3 +146,26 @@ jobs:
146146 cat test_*.log || true
147147 cat valgrind_test.log || true
148148 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