Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Oct 28, 2023
1 parent 6971dbc commit 127a26b
Showing 1 changed file with 28 additions and 8 deletions.
36 changes: 28 additions & 8 deletions .github/workflows/jobs-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,23 +88,43 @@ jobs:
- 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:
build-linux-encrypted_env-openssl-basic:
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
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/[email protected]
- uses: "./.github/actions/pre-steps"
- run: |
export ENCRYPTED_ENV=${{ matrix.test_fs_uri }}
export TEST_FS_URI=${{ matrix.test_fs_uri }}
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/[email protected]
- 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"

0 comments on commit 127a26b

Please sign in to comment.