-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (43 loc) · 1.26 KB
/
build.yml
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
name: mop2-CI
# This workflow is triggered on pushes to the repository.
on: [push]
jobs:
build:
name: mop2 ci
# This job runs on Linux
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
java_version: ['11.0.4']
steps:
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
- name: Environment
run: env | sort
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
submodules: true
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}
architecture: x64
- name: MOP2
run: |
curl -fsSL get.nextflow.io | bash
# Install Master Of Pores 2
git clone --depth 1 --recurse-submodules https://github.com/biocorecrg/MOP2.git
cd MOP2
bash INSTALL.sh
cd mop_preprocess
../../nextflow run mop_preprocess.nf -with-docker -profile ci
cd ../mop_mod
../../nextflow run mop_mod.nf -with-docker -profile ci
cd ../mop_tail
../../nextflow run mop_tail.nf -with-docker -profile ci
env:
NXF_ANSI_LOG: false