-
Notifications
You must be signed in to change notification settings - Fork 160
68 lines (68 loc) · 1.47 KB
/
simple-tests.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
name: Simple Tests
on:
push:
branches:
- 'bug_fixes'
- 'master'
paths:
- '**.h'
- '**.cpp'
- 'bowtie2'
- 'bowtie2-build'
- 'bowtie2-inspect'
- 'Makefile'
- 'scripts/sim/**'
- 'scripts/test/**'
pull_request:
branches:
- 'master'
paths:
- '**.h'
- '**.cpp'
- 'bowtie2'
- 'bowtie2-build'
- 'bowtie2-inspect'
- 'Makefile'
- 'scripts/sim/**'
- 'scripts/test/**'
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Install zlib development files
run: |
sudo apt-get update
sudo apt-get install zlib1g-dev
linux:
runs-on: ubuntu-latest
needs: setup
steps:
- uses: actions/checkout@v2
- name: Run simple tests
run: |
make clean; make -j4 allall
make simple-test
linux-avx2:
runs-on: ubuntu-latest
needs: linux
steps:
- uses: actions/checkout@v2
- name: Run simple tests using AVX2
run: |
export SSE_AVX2=1
make clean; make -j4 allall
make simple-test
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Pull submodules
run: |
git submodule init
git submodule update
- name: Run simple tests
run: |
make clean; make -j4 allall
make simple-test