Skip to content

Commit 4c7fa7f

Browse files
authored
Merge pull request #193 from simonbray/gh-act
[WIP] Replace travis CI with GitHub actions
2 parents 8a9937b + e723535 commit 4c7fa7f

File tree

2 files changed

+38
-37
lines changed

2 files changed

+38
-37
lines changed

.github/workflows/build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: C/C++ CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: s-weigand/setup-conda@v1
17+
with:
18+
activate-conda: true
19+
- name: Create conda environement
20+
run: |
21+
source `conda info --base`/etc/profile.d/conda.sh
22+
conda create -q -n build-IntaRNA -c conda-forge -c bioconda gcc_linux-64 gxx_linux-64 boost-cpp libboost viennarna>=2.4.14 pkgconfig
23+
conda activate build-IntaRNA
24+
- name: Script
25+
run: |
26+
##### start IntaRNA build #####
27+
pwd
28+
# generate autotools's files
29+
bash autotools-init.sh
30+
# run configure (without boost checks)
31+
./configure --prefix=$HOME/IntaRNA --with-vrna=`conda info --base`/envs/build-IntaRNA --with-boost=no --without-zlib
32+
# compile documentation
33+
# - make doxygen-doc
34+
# compile, test and install IntaRNA
35+
make -j 2 && make tests -j 2 && make install
36+
##### check IntaRNA build #####
37+
# run installed IntaRNA with help output
38+
$HOME/IntaRNA/bin/IntaRNA -h

.travis.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)