Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into issue/447-export-…
…and-set
- Loading branch information
Showing
33 changed files
with
700 additions
and
176 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,94 @@ | ||
name: RocksDB build | ||
name: RocksDB CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-librocksdb-sys: | ||
name: Test librocksdb-sys crate | ||
runs-on: | ||
- windows-latest | ||
fmt: | ||
name: Rustfmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
- name: Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
submodules: true | ||
|
||
- name: Install dependencies | ||
run: choco install llvm -y | ||
|
||
- name: Run librocksdb-sys tests | ||
toolchain: stable | ||
components: rustfmt | ||
profile: minimal | ||
override: true | ||
- name: Run rustfmt | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --manifest-path=librocksdb-sys/Cargo.toml | ||
command: fmt | ||
args: --all -- --check | ||
|
||
test-rocksdb: | ||
name: Test rocksdb crate | ||
runs-on: | ||
- windows-latest | ||
clippy: | ||
name: Clippy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
components: clippy | ||
profile: minimal | ||
override: true | ||
- name: Run clippy | ||
uses: actions-rs/clippy-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: -- -D warnings | ||
|
||
audit: | ||
name: Security audit | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/audit-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
test: | ||
name: ${{ matrix.build }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
build: [Linux, macOS, Windows] | ||
include: | ||
- build: Linux | ||
os: ubuntu-latest | ||
- build: macOS | ||
os: macos-latest | ||
- build: Windows | ||
os: windows-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Install rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.rust || 'stable' }} | ||
target: ${{ matrix.target }} | ||
profile: minimal | ||
override: true | ||
- name: Remove msys64 # Workaround to resolve link error with C:\msys64\mingw64\bin\libclang.dll | ||
if: runner.os == 'Windows' | ||
run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse | ||
- name: Install dependencies | ||
if: runner.os == 'Windows' | ||
run: choco install llvm -y | ||
|
||
- name: Run librocksdb-sys tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --manifest-path=librocksdb-sys/Cargo.toml | ||
- name: Run rocksdb tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: -- --skip test_iterator_outlive_db |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "build_version.h" | ||
const char* rocksdb_build_git_sha = "rocksdb_build_git_sha:@50f206ad84fa6cd516bad1bea93c03ae0655b314@"; | ||
const char* rocksdb_build_git_date = "rocksdb_build_git_date:@2020/07/29 16:07:40@"; | ||
const char* rocksdb_build_git_sha = "rocksdb_build_git_sha:@48bfca38f6f175435052a59791922a1a453d9609@"; | ||
const char* rocksdb_build_git_date = "rocksdb_build_git_date:@2020/07/15 17:54:15@"; | ||
const char* rocksdb_build_compile_date = __DATE__; |
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
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
Oops, something went wrong.