| name: Celix MacOS Nightly |
| |
| on: |
| schedule: |
| - cron: '0 0 * * *' |
| |
| jobs: |
| build: |
| runs-on: ${{ matrix.os }} |
| strategy: |
| fail-fast: false |
| matrix: |
| os: [macOS-latest] |
| compiler: [clang] |
| timeout-minutes: 120 |
| steps: |
| - name: Checkout source code |
| uses: actions/checkout@v2 |
| - name: Install dependencies |
| run: | |
| brew update |
| brew install lcov zeromq czmq openssl cpputest jansson rapidjson |
| brew unlink openssl && brew link openssl --force |
| - name: Build |
| env: |
| CC: ${{ matrix.compiler }} |
| BUILD_OPTIONS: | |
| -DENABLE_TESTING=ON |
| -DENABLE_ADDRESS_SANITIZER=ON |
| run: | |
| mkdir build install |
| cd build |
| cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ${BUILD_OPTIONS} -DCMAKE_INSTALL_PREFIX=../install .. |
| make -j && make install |
| - name: Test |
| run: | |
| cd $GITHUB_WORKSPACE/build |
| export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi |
| make test ARGS="-V" |
| |