Skip to content

Commit 16eed1e

Browse files
committed
redo
1 parent 9e59c39 commit 16eed1e

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,37 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
10+
defaults:
11+
run:
12+
shell: bash -el {0}
13+
14+
915
jobs:
1016
build:
1117

1218
runs-on: ubuntu-latest
1319

1420
steps:
15-
- uses: actions/checkout@v2
16-
- uses: s-weigand/setup-conda@v1
21+
22+
- name: Check out sources from github
23+
uses: actions/checkout@v2
24+
25+
- name: Setup conda environment
26+
uses: conda-incubator/setup-miniconda@v2
1727
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 viennarna>=2.4.14 pkgconfig
23-
conda activate build-IntaRNA
24-
- name: Script
28+
miniconda-version: "latest"
29+
environment-file: conda-build-env.yml
30+
activate-environment: conda-build-env
31+
32+
- name: Build and test IntaRNA
2533
run: |
2634
##### start IntaRNA build #####
2735
pwd
2836
# generate autotools's files
2937
bash autotools-init.sh
3038
# run configure (without boost checks)
31-
ENVPREFIX=`conda info --base`/envs/build-IntaRNA
39+
ENVPREFIX=`conda info --base`/envs/conda-build-env
3240
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ENVPREFIX/lib
3341
./configure \
3442
--prefix=$HOME/IntaRNA \
@@ -43,4 +51,4 @@ jobs:
4351
make tests -j 2
4452
##### check IntaRNA build #####
4553
# run installed IntaRNA with help output
46-
$HOME/IntaRNA/bin/IntaRNA -h
54+
$HOME/IntaRNA/bin/IntaRNA -h

0 commit comments

Comments
 (0)