generated from hasindu2008/slow5-template
-
Notifications
You must be signed in to change notification settings - Fork 0
86 lines (84 loc) · 2.3 KB
/
c-cpp.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
name: C/C++ CI
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
ubuntu_16:
name: Ubuntu 16
runs-on: ubuntu-22.04
container: ubuntu:16.04
steps:
- name: install git
run: apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:git-core/ppa && apt-get update -y && apt-get install git -y
- uses: actions/checkout@v2
with:
submodules: recursive
- name: install packages
run: apt-get update && apt-get install -y zlib1g-dev gcc libcurl4-openssl-dev valgrind make
- name: build
run: make slow5_mt=1
- name: test
run: make test
ubuntu_18:
name: Ubuntu 18
runs-on: ubuntu-22.04
container: ubuntu:18.04
steps:
- name: install git
run: apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:git-core/ppa && apt-get update -y && apt-get install git -y
- uses: actions/checkout@v2
with:
submodules: recursive
- name: install packages
run: apt-get update && apt-get install -y zlib1g-dev gcc libcurl4-openssl-dev valgrind make
- name: build
run: make slow5_mt=1
- name: test
run: make test
ubuntu_20:
name: Ubuntu 20
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: install packages
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev gcc libcurl4-openssl-dev valgrind
- name: build
run: make slow5_mt=1
- name: test
run: make test
ubuntu_22:
name: Ubuntu 22
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: install packages
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev gcc libcurl4-openssl-dev valgrind
- name: build
run: make slow5_mt=1
- name: test
run: make test
- name: mem
run: make mem
- name: examples
run: make examples
os_x:
name: OSX
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: install packages
run: brew install curl
- name: build
run: make slow5_mt=1
- name: test
run: make test
- name: examples
run: make examples