Update README.md #64
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: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out sources from github | |
| uses: actions/checkout@v2 | |
| - name: Setup conda environment | |
| uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| miniconda-version: "latest" | |
| environment-file: conda-build-env.yml | |
| activate-environment: conda-build-env | |
| - name: Build and test IntaRNA | |
| run: | | |
| ##### start IntaRNA build ##### | |
| pwd | |
| # generate autotools's files | |
| bash autotools-init.sh | |
| # run configure (without boost checks) | |
| ENVPREFIX=`conda info --base`/envs/conda-build-env | |
| export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ENVPREFIX/lib | |
| ./configure \ | |
| --prefix=$HOME/IntaRNA \ | |
| --with-vrna=$ENVPREFIX \ | |
| --with-boost=$ENVPREFIX \ | |
| --with-boost-libdir=$ENVPREFIX/lib \ | |
| --with-zlib=$ENVPREFIX | |
| # compile documentation | |
| # - make doxygen-doc | |
| # compile, test and install IntaRNA | |
| make -j 2 && make install | |
| make tests -j 2 | |
| ##### check IntaRNA build ##### | |
| # run installed IntaRNA with help output | |
| $HOME/IntaRNA/bin/IntaRNA -h |