Skip to content

Fix enc

Fix enc #224

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"