forked from facebook/rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 0
130 lines (130 loc) · 5.47 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
name: jobs-linux-run-tests
on: [pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
steps:
- uses: actions/checkout@v3.5.0
- 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/checkout@v3.5.0
# - 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/checkout@v3.5.0
- 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/checkout@v3.5.0
# - 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/checkout@v3.5.0
- 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/checkout@v3.5.0
# - 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/checkout@v3.5.0
- 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/checkout@v3.5.0
- 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-basic:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
strategy:
fail-fast: false
matrix:
test_enc_env:
- id=AES;hex_instance_key=0123456789ABCDEF0123456789ABCDEF;method=AES128CTR
- id=AES;hex_instance_key=0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF;method=AES192CTR
- id=AES;hex_instance_key=0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF;method=AES256CTR
- id=AES;hex_instance_key=0123456789ABCDEF0123456789ABCDEF;method=SM4CTR
steps:
- uses: actions/checkout@v3.5.0
- uses: "./.github/actions/pre-steps"
- run: |
export ENCRYPTED_ENV="${{ matrix.test_enc_env }}"
mkdir build && cd build && cmake -DWITH_OPENSSL=1 .. && make V=1 -j5 && ctest -j5 -V
- uses: "./.github/actions/post-steps"
build-linux-encrypted_env-openssl-special:
runs-on: ubuntu-latest
container:
image: zjay437/rocksdb:0.6
strategy:
fail-fast: false
matrix:
test_fs_uri:
- provider={id=AES;hex_instance_key=0123456789ABCDEF0123456789ABCDEF;method=AES128CTR};id=EncryptedFileSystem
- provider={id=AES;hex_instance_key=0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF;method=AES192CTR};id=EncryptedFileSystem
- provider={id=AES;hex_instance_key=0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF;method=AES256CTR};id=EncryptedFileSystem
- provider={id=AES;hex_instance_key=0123456789ABCDEF0123456789ABCDEF;method=SM4CTR};id=EncryptedFileSystem
steps:
- uses: actions/checkout@v3.5.0
- uses: "./.github/actions/pre-steps"
- run: |
mkdir build && cd build && cmake -DWITH_OPENSSL=1 .. && make V=1 -j5
export TEST_FS_URI="${{ matrix.test_fs_uri }}"
./env_basic_test --gtest_filter=*CustomEnv*
./env_test --gtest_filter=CreateEnvTest.CreateEncryptedFileSystem
- uses: "./.github/actions/post-steps"