-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
77 lines (74 loc) · 2.15 KB
/
.travis.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
language: bash
matrix:
include:
- name: "CUDALucas"
install:
- sudo apt-get -yqq update
- sudo apt-get -yqq install cppcheck
before_script:
- sed -i '/^GPU=/,/^fi/ s/^/# /' cudalucas.sh
- sed -i '/^if ! COMPUTE=/,/^fi/ s/^/# /' cudalucas.sh
- sed -i 's/\/$COMPUTE/\/-gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50/' cudalucas.sh
- sed -i '/^\.\/CUDALucas / s/^/# /' cudalucas.sh
- sed -i '/^nohup / s/^/# /' cudalucas.sh
- sed -i '/^python3 -OO / s/^/# /' cudalucas.sh
script:
- bash -e -o pipefail -- cudalucas.sh ANONYMOUS
- cd cudalucas && cppcheck --enable=all *.cu *.c *.h
- name: "GpuOwl"
os: linux
dist: focal
language: c
compiler: gcc
before_script:
- sed -i '/^GPU=/,/^fi/ s/^/# /' gpuowl.sh
- sed -i '/^time \.\/gpuowl-bench\.sh / s/^/# /' gpuowl.sh
- sed -i '/^nohup / s/^/# /' gpuowl.sh
- sed -i '/^python3 -OO / s/^/# /' gpuowl.sh
script:
- bash -e -o pipefail -- gpuowl.sh ANONYMOUS
- name: "GpuOwl"
os: linux
dist: focal
language: c
compiler: clang
before_script:
- sed -i '/^GPU=/,/^fi/ s/^/# /' gpuowl.sh
- sed -i '/^time \.\/gpuowl-bench\.sh / s/^/# /' gpuowl.sh
- sed -i '/^nohup / s/^/# /' gpuowl.sh
- sed -i '/^python3 -OO / s/^/# /' gpuowl.sh
script:
- bash -e -- gpuowl.sh ANONYMOUS
- name: "Mlucas (Intel, gcc)"
language: c
compiler: gcc
arch: amd64
virt: vm
- name: "Mlucas (Intel, clang)"
language: c
compiler: clang
arch: amd64
virt: vm
- name: "Mlucas (ARM, gcc)"
language: c
compiler: gcc
arch: arm64
virt: vm
- name: "Mlucas (ARM, clang)"
language: c
compiler: clang
arch: arm64
virt: vm
allow_failures:
- language: c
compiler: clang
before_script:
- sudo apt-get -yqq update
- sudo apt-get -yqq install xz-utils
- sed -i '/^[[:blank:]]*nohup / s/^/# /' mlucas.sh
- sed -i '/^[[:blank:]]*pip3 / s/^/# /' mlucas.sh
- sed -i '/^python3 -OO / s/^/# /' mlucas.sh
script:
- bash -e -o pipefail -- mlucas.sh ANONYMOUS
after_script:
- bash -c 'shopt -s globstar; shellcheck -s bash **/*.sh || true'