forked from facebook/rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 0
101 lines (101 loc) · 3.88 KB
/
jobs-linux-run-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
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: jobs-linux-run-tests
on: [pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- uses: actions/[email protected]
- uses: "./.github/actions/pre-steps"
- run: make V=1 J=1 -j4
- uses: "./.github/actions/post-steps"
build-linux-cmake-with-folly:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- run: echo "skip this job, because Pegasus does not use folly currently"
# - uses: actions/[email protected]
# - uses: "./.github/actions/pre-steps"
# - uses: "./.github/actions/setup-folly"
# - uses: "./.github/actions/build-folly"
# - run: "(mkdir build && cd build && cmake -DUSE_FOLLY=1 -DWITH_GFLAGS=1 -DROCKSDB_BUILD_SHARED=0 .. && make V=1 -j5 && ctest -j5)"
# - uses: "./.github/actions/post-steps"
build-linux-cmake-with-folly-lite-no-test:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- uses: actions/[email protected]
- uses: "./.github/actions/pre-steps"
- uses: "./.github/actions/setup-folly"
- run: "(mkdir build && cd build && cmake -DUSE_FOLLY_LITE=1 -DWITH_GFLAGS=1 .. && make V=1 -j5)"
- uses: "./.github/actions/post-steps"
build-linux-gcc-7-with-folly:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- run: echo "skip this job, because Pegasus does not use folly currently"
# - uses: actions/[email protected]
# - uses: "./.github/actions/pre-steps"
# - uses: "./.github/actions/setup-folly"
# - uses: "./.github/actions/build-folly"
# - run: USE_FOLLY=1 LIB_MODE=static CC=gcc-7 CXX=g++-7 V=1 make -j4 check
# - uses: "./.github/actions/post-steps"
build-linux-gcc-7-with-folly-lite-no-test:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- uses: actions/[email protected]
- uses: "./.github/actions/pre-steps"
- uses: "./.github/actions/setup-folly"
- run: USE_FOLLY_LITE=1 CC=gcc-7 CXX=g++-7 V=1 make -j4 all
- uses: "./.github/actions/post-steps"
build-linux-cmake-with-folly-coroutines:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
env:
CC: gcc-10
CXX: g++-10
steps:
- run: echo "skip this job, because Pegasus does not use folly currently"
# - uses: actions/[email protected]
# - uses: "./.github/actions/pre-steps"
# - uses: "./.github/actions/setup-folly"
# - uses: "./.github/actions/build-folly"
# - run: "(mkdir build && cd build && cmake -DUSE_COROUTINES=1 -DWITH_GFLAGS=1 -DROCKSDB_BUILD_SHARED=0 .. && make V=1 -j5 && ctest -j5)"
# - uses: "./.github/actions/post-steps"
build-linux-cmake-with-benchmark:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- uses: actions/[email protected]
- uses: "./.github/actions/pre-steps"
- run: mkdir build && cd build && cmake -DWITH_GFLAGS=1 -DWITH_BENCHMARK=1 .. && make V=1 -j5 && ctest -j5
- uses: "./.github/actions/post-steps"
build-linux-encrypted_env-no_compression-no_openssl:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- uses: actions/[email protected]
- uses: "./.github/actions/pre-steps"
- run: mkdir build && cd build && cmake -DWITH_OPENSSL=0 -DWITH_SNAPPY=0 -DWITH_ZLIB=0 -DWITH_BZ2=0 -DWITH_LZ4=0 -DWITH_ZSTD=0 .. && make V=1 -j5 && ctest -j5 -V
- run: "cd build/tools && ./sst_dump --help | grep -E -q 'Supported compression types: kNoCompression'"
- uses: "./.github/actions/post-steps"
build-linux-encrypted_env-openssl:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- uses: actions/[email protected]
- uses: "./.github/actions/pre-steps"
- run: |
export ENCRYPTED_ENV=AES
mkdir build && cd build && cmake -DWITH_OPENSSL=1 .. && make V=1 -j5 && ctest -j5 -V
- uses: "./.github/actions/post-steps"