Add github actions CI for windows build (#415)
parent
cb0bac827f
commit
df05c3182e
@ -0,0 +1,42 @@ |
|||||||
|
name: RocksDB build |
||||||
|
|
||||||
|
on: [push, pull_request] |
||||||
|
|
||||||
|
jobs: |
||||||
|
test-librocksdb-sys: |
||||||
|
name: Test librocksdb-sys crate |
||||||
|
runs-on: |
||||||
|
- windows-latest |
||||||
|
steps: |
||||||
|
- name: Checkout sources |
||||||
|
uses: actions/checkout@v2 |
||||||
|
with: |
||||||
|
submodules: true |
||||||
|
|
||||||
|
- name: Install dependencies |
||||||
|
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 |
||||||
|
|
||||||
|
test-rocksdb: |
||||||
|
name: Test rocksdb crate |
||||||
|
runs-on: |
||||||
|
- windows-latest |
||||||
|
steps: |
||||||
|
- name: Checkout sources |
||||||
|
uses: actions/checkout@v2 |
||||||
|
with: |
||||||
|
submodules: true |
||||||
|
|
||||||
|
- name: Install dependencies |
||||||
|
run: choco install llvm -y |
||||||
|
|
||||||
|
- name: Run rocksdb tests |
||||||
|
uses: actions-rs/cargo@v1 |
||||||
|
with: |
||||||
|
command: test |
||||||
|
args: -- --skip test_iterator_outlive_db |
Loading…
Reference in new issue