-
Notifications
You must be signed in to change notification settings - Fork 137
129 lines (114 loc) · 3.08 KB
/
iontorrent.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
name: SPAdes IonTorrent datasets tests
on:
workflow_dispatch:
pull_request:
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
push:
tags:
- '*'
schedule:
- cron: '0 3 14,28 * *'
env:
BUILD_TYPE: Release
BUILD_DIR: ${{github.workspace}}/build
INSTALL_DIR: ${{github.workspace}}/spades
SRC_DIR: ${{github.workspace}}/src
PKG: SPAdes-*-Linux
jobs:
build:
runs-on: self-hosted
name: '🚧 Build SPAdes'
steps:
- name: '🧹 Cleanup'
run: >
set -e &&
shopt -s dotglob &&
rm -rf *
- name: '🧰 Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: '⚙️ Install ccache'
uses: hendrikmuhs/ccache-action@v1.2
with:
variant: sccache
key: sccache-${{env.BUILD_TYPE}}
- name: '⚙️ Configure CMake'
run: >
cmake
-B ${{env.BUILD_DIR}}
-S ${{env.SRC_DIR}}
-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-DCMAKE_INSTALL_PREFIX=${{env.INSTALL_DIR}}
- name: '🚧 Build'
run: >
cmake
--build ${{env.BUILD_DIR}}
-j16
-t package
- name: '📦 Package'
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
${{env.BUILD_DIR}}/${{env.PKG}}.tar.gz
it-ecoli:
name: 'IonTorrent E.coli'
runs-on: self-hosted
needs: build
steps:
- name: '🧹 Cleanup'
run: >
set -e &&
shopt -s dotglob &&
rm -rf *
- name: '🧰 Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: '📦 Download package'
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: ${{env.INSTALL_DIR}}
- name: '📦 Unpack package'
working-directory: ${{env.INSTALL_DIR}}
run: >
tar -zxf ${{env.PKG}}.tar.gz
- name: 'Assembly'
run: >
${{env.SRC_DIR}}/test/teamcity/github_runner.py
--spades_path ${{env.INSTALL_DIR}}/${{env.PKG}}/bin
--no_contig_archive
/data/spades_tests/IT_E.coli.info
it-pb-ecoli:
name: 'IonTorrent+PacBio E.coli'
runs-on: self-hosted
needs: build
steps:
- name: '🧹 Cleanup'
run: >
set -e &&
shopt -s dotglob &&
rm -rf *
- name: '🧰 Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: '📦 Download package'
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: ${{env.INSTALL_DIR}}
- name: '📦 Unpack package'
working-directory: ${{env.INSTALL_DIR}}
run: >
tar -zxf ${{env.PKG}}.tar.gz
- name: 'Assembly'
run: >
${{env.SRC_DIR}}/test/teamcity/github_runner.py
--spades_path ${{env.INSTALL_DIR}}/${{env.PKG}}/bin
--no_contig_archive
/data/spades_tests/IT_PB_E.coli.info