[encryption] Manage file key by the file to encrypt itself #136
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: jobs-linux-no-test-run | |
on: [pull_request] | |
jobs: | |
build-linux-release: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- run: make V=1 -j4 LIB_MODE=shared release | |
- run: ls librocksdb.so | |
- run: "./db_stress --version" | |
- run: make clean | |
- run: make V=1 -j4 release | |
- run: ls librocksdb.a | |
- run: "./db_stress --version" | |
- run: make clean | |
- run: apt-get remove -y libgflags-dev | |
- run: make V=1 -j4 LIB_MODE=shared release | |
- run: ls librocksdb.so | |
- run: if ./db_stress --version; then false; else true; fi | |
- run: make clean | |
- run: make V=1 -j4 release | |
- run: ls librocksdb.a | |
- run: if ./db_stress --version; then false; else true; fi | |
- uses: "./.github/actions/post-steps" | |
build-linux-release-rtti: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- run: USE_RTTI=1 DEBUG_LEVEL=0 make V=1 -j4 static_lib tools db_bench | |
- run: "./db_stress --version" | |
- run: make clean | |
- run: apt-get remove -y libgflags-dev | |
- run: USE_RTTI=1 DEBUG_LEVEL=0 make V=1 -j4 static_lib tools db_bench | |
- run: if ./db_stress --version; then false; else true; fi | |
build-examples: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- uses: "./.github/actions/pre-steps" | |
- name: Build examples | |
run: make V=1 -j4 static_lib && cd examples && make V=1 -j4 | |
- uses: "./.github/actions/post-steps" | |
build-fuzzers: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- uses: "./.github/actions/pre-steps" | |
- name: Build rocksdb lib | |
run: CC=clang-13 CXX=clang++-13 USE_CLANG=1 make -j4 static_lib | |
- name: Build fuzzers | |
run: cd fuzz && make sst_file_writer_fuzzer db_fuzzer db_map_fuzzer | |
- uses: "./.github/actions/post-steps" | |
build-linux-clang-no_test_run: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- run: CC=clang CXX=clang++ USE_CLANG=1 PORTABLE=1 make V=1 -j4 all | |
- uses: "./.github/actions/post-steps" | |
build-linux-clang-13-no_test_run: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- uses: "./.github/actions/pre-steps" | |
- run: CC=clang-13 CXX=clang++-13 USE_CLANG=1 make -j4 all microbench | |
- uses: "./.github/actions/post-steps" | |
build-linux-gcc-8-no_test_run: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- uses: "./.github/actions/pre-steps" | |
- run: CC=gcc-8 CXX=g++-8 V=1 make -j4 all | |
- uses: "./.github/actions/post-steps" | |
build-linux-gcc-10-cxx20-no_test_run: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- uses: "./.github/actions/pre-steps" | |
- run: CC=gcc-10 CXX=g++-10 V=1 ROCKSDB_CXX_STANDARD=c++20 make -j4 all | |
- uses: "./.github/actions/post-steps" | |
build-linux-gcc-11-no_test_run: | |
runs-on: ubuntu-latest | |
container: | |
image: zjay437/rocksdb:0.6 | |
steps: | |
- uses: actions/[email protected] | |
- uses: "./.github/actions/pre-steps" | |
- run: LIB_MODE=static CC=gcc-11 CXX=g++-11 && mkdir build && cd build && cmake -DWITH_BENCHMARK=ON .. && make V=1 -j4 | |
- uses: "./.github/actions/post-steps" | |
build-linux-arm-cmake-no_test_run: | |
runs-on: ubuntu-20.04 | |
env: | |
JAVA_HOME: "/usr/lib/jvm/java-8-openjdk-arm64" | |
steps: | |
- run: echo "skip this job, Github Actions free plan does not support arm64 yet" | |
# - uses: actions/[email protected] | |
# - uses: "./.github/actions/pre-steps" | |
# - uses: "./.github/actions/install-gflags" | |
# - name: Set Java Environment | |
# run: |- | |
# echo "JAVA_HOME=${JAVA_HOME}" | |
# echo 'export PATH=$JAVA_HOME/bin:$PATH' >> $GITHUB_ENV | |
# which java && java -version | |
# which javac && javac -version | |
# - name: Build with cmake | |
# run: |- | |
# mkdir build | |
# cd build | |
# cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=0 -DWITH_GFLAGS=1 -DWITH_BENCHMARK_TOOLS=0 -DWITH_TOOLS=0 -DWITH_CORE_TOOLS=1 .. | |
# make -j4 | |
# - name: Build Java with cmake | |
# run: |- | |
# rm -rf build | |
# mkdir build | |
# cd build | |
# cmake -DJNI=1 -DCMAKE_BUILD_TYPE=Release -DWITH_GFLAGS=1 .. | |
# make -j4 rocksdb rocksdbjni | |
# - uses: "./.github/actions/post-steps" |