split run configuration to Runmode and Base, add buffering and compression to monitoring and logging #164
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: C/C++ CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| # build_ubuntu-latest: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v2 | |
| # - name: Get ToolDAQ | |
| # run: ./GetToolDAQ.sh | |
| # - name: test | |
| # run : source ./Setup.sh && ./main | |
| # build_centos-latest: | |
| # runs-on: ubuntu-latest | |
| # container: 'centos:latest' | |
| # steps: | |
| # - uses: actions/checkout@v2 | |
| # - name: prerequisits | |
| # run: yum install -y git make gcc-c++ zlib-devel dialog | |
| # - name: Get ToolDAQ | |
| # run: ./GetToolDAQ.sh | |
| # - name: test | |
| # run : source ./Setup.sh && ./main | |
| build_centos-7: | |
| runs-on: ubuntu-latest | |
| container: 'tooldaq/base' | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: setup | |
| run: cp -R `pwd` /opt | |
| && cd /opt | |
| && ls | |
| && cd ToolFrameworkCore | |
| && make clean | |
| && git pull | |
| && make | |
| && cd ../ToolDAQFramework | |
| - name: make | |
| run: cd /opt/ToolDAQFramework | |
| && make clean | |
| && make | |
| - name: test | |
| run: cd /opt/ToolDAQFramework | |
| && export LD_LIBRARY_PATH=`pwd`/lib:/opt/ToolFrameworkCore/lib:/opt/zeromq-4.0.7/lib:/opt/boost_1_66_0/install/lib:$LD_LIBRARY_PATH | |
| && ./main | |