Skip to content

Commit

Permalink
Merge pull request #193 from simonbray/gh-act
Browse files Browse the repository at this point in the history
[WIP] Replace travis CI with GitHub actions
  • Loading branch information
martin-raden authored Jan 10, 2022
2 parents 8a9937b + e723535 commit 4c7fa7f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 37 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: C/C++ CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: s-weigand/setup-conda@v1
with:
activate-conda: true
- name: Create conda environement
run: |
source `conda info --base`/etc/profile.d/conda.sh
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
conda activate build-IntaRNA
- name: Script
run: |
##### start IntaRNA build #####
pwd
# generate autotools's files
bash autotools-init.sh
# run configure (without boost checks)
./configure --prefix=$HOME/IntaRNA --with-vrna=`conda info --base`/envs/build-IntaRNA --with-boost=no --without-zlib
# compile documentation
# - make doxygen-doc
# compile, test and install IntaRNA
make -j 2 && make tests -j 2 && make install
##### check IntaRNA build #####
# run installed IntaRNA with help output
$HOME/IntaRNA/bin/IntaRNA -h
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

0 comments on commit 4c7fa7f

Please sign in to comment.