-
Notifications
You must be signed in to change notification settings - Fork 4
58 lines (43 loc) · 1.2 KB
/
main.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
50
51
52
53
54
55
56
57
58
name: GitHub Actions CI
on:
push:
branches: [ master ]
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
linux-remote:
name: Linux test (remote)
runs-on: ubuntu-latest
env:
EXE: ./src/whisper
EXE_INDEX: ./src/whisper-index
REFERENCE: ./example/GCF_904425475.1_MG1655_genomic.fna
FASTQ_1: ./example/SRR10051130_10k_1.fastq
FASTQ_2: ./example/SRR10051130_10k_2.fastq
SAM_PE: ./example/out-pe.sam
SAM_SE: ./example/out-se.sam
steps:
- uses: actions/checkout@v2
- name: make
run: make -j2 -C ./src
- name: indexing
run: |
mkdir temp
mkdir index
$EXE_INDEX ecoli $REFERENCE ./index ./temp
- name: mapping PE
run: |
$EXE -t 1 -rp -out out-pe ./index/ecoli $FASTQ_1 $FASTQ_2
diff $SAM_PE <(tail -n+4 out-pe.sam)
- name: mapping SE
run: |
$EXE -t 1 -rs -out out-se ./index/ecoli $FASTQ_1
diff $SAM_SE <(tail -n+4 out-se.sam)
#macos-remote:
# name: macOS build (remote)
# runs-on: macOS-latest
# steps:
# - uses: actions/checkout@v2
# - name: make
# run: make -j2 -C ./src