forked from daanx/mimalloc-bench
-
Notifications
You must be signed in to change notification settings - Fork 0
101 lines (101 loc) · 3.86 KB
/
all.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
name: Build and run everything
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 1'
jobs:
build-all-alpine:
runs-on: ubuntu-latest
container:
image: alpine:latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Install bash
run: apk add bash git
- name: Silence some git warnings
run: |
git config --global advice.detachedHead false
git config --global init.defaultBranch main
- name: Install and build all benchmarks and allocators
# dh: glibc-specific
# fg: Uses execinfo.h, which is a GNU extension
# gd: ?
# hd: glibc-specific
# lf: crashes redis server
# lt: return type 'struct mallinfo' is incomplete
# mesh/nomesh: infinite loop?
# pa: can't setup depot_tools and goma
# sm: ../src/supermalloc.h:10:31: error: expected initializer before '__THROW'
# tcg: [...] specifies less restrictive attribute than its target [...]
run: ./build-bench-env.sh all no-dh no-hd no-sm no-mesh no-nomesh no-pa no-gd no-fg no-lf no-lt no-tcg
- name: Run everything.
run: |
cd out/bench
../../bench.sh alla allt
build-all-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Silence some git warnings
run: |
git config --global advice.detachedHead false
git config --global init.defaultBranch main
- name: Install and build all benchmarks and allocators
# fg: crashes on redis
# gd: infinite loop in the redis benchmark
# lt: breaks on sh8benchN
# lf: crashes redis server
# ff: crashes on modern ubuntu: https://github.com/bwickman97/ffmalloc/issues/5
# hoard: crashes on rocksdb
# tcg: https://github.com/google/tcmalloc/issues/155
run: ./build-bench-env.sh all no-lean no-gd no-ff no-fg no-lt no-lf no-hd no-tcg
- name: Run everything.
run: |
cd out/bench
../../bench.sh alla allt
build-all-fedora:
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Install git
run: sudo dnf -y --quiet --nodocs install git
- name: Silence some git warnings
run: |
git config --global advice.detachedHead false
git config --global init.defaultBranch main
- name: Install and build all benchmarks and allocators
# gd: infinite loop in the redis benchmark
# mesh/nomesh: error: '__malloc_hook' was not declared in this scope;
# mi: error: '__malloc_hook' was not declared in this scope;
# rp: mixing declarations and code is incompatible with standards before C99
# lf: crashes redis server
# fg: crashes redis server
run: ./build-bench-env.sh all no-lean no-mi no-mesh no-nomesh no-gd no-rp no-lf no-fg
- name: Run everything.
run: |
cd out/bench
../../bench.sh alla allt
build-all-osx:
runs-on: macos-11
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Silence some git warnings
run: |
git config --global advice.detachedHead false
git config --global init.defaultBranch main
- name: Install and build all benchmarks and allocators
# ff:ffmalloc.c:1140:14: error: implicit declaration of function 'sched_getcpu' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
# fg: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
# gd: so many errors
run: ./build-bench-env.sh all no-lean no-gd no-ff no-fg
- name: Run everything.
run: |
cd out/bench
../../bench.sh alla allt