-
Notifications
You must be signed in to change notification settings - Fork 28
54 lines (44 loc) · 1.3 KB
/
build.yml
File metadata and controls
54 lines (44 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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