Add github actions CI for windows build (#415)

master
Oleksandr Anyshchenko 5 years ago committed by GitHub
parent cb0bac827f
commit df05c3182e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 42
      .github/workflows/rust.yml
  2. 2
      .travis.yml
  3. 1
      README.md

@ -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

@ -20,4 +20,4 @@ install:
script: script:
- cargo fmt --all -- --check - cargo fmt --all -- --check
- cargo test --manifest-path=librocksdb-sys/Cargo.toml - cargo test --manifest-path=librocksdb-sys/Cargo.toml
- cargo test - cargo test -- --skip test_iterator_outlive_db

@ -1,6 +1,7 @@
rust-rocksdb rust-rocksdb
============ ============
[![Build Status](https://travis-ci.org/rust-rocksdb/rust-rocksdb.svg?branch=master)](https://travis-ci.org/rust-rocksdb/rust-rocksdb) [![Build Status](https://travis-ci.org/rust-rocksdb/rust-rocksdb.svg?branch=master)](https://travis-ci.org/rust-rocksdb/rust-rocksdb)
![RocksDB build](https://github.com/rust-rocksdb/rust-rocksdb/workflows/RocksDB%20build/badge.svg?branch=master)
[![crates.io](https://img.shields.io/crates/v/rocksdb.svg)](https://crates.io/crates/rocksdb) [![crates.io](https://img.shields.io/crates/v/rocksdb.svg)](https://crates.io/crates/rocksdb)
[![documentation](https://docs.rs/rocksdb/badge.svg)](https://docs.rs/rocksdb) [![documentation](https://docs.rs/rocksdb/badge.svg)](https://docs.rs/rocksdb)
[![license](https://img.shields.io/crates/l/rocksdb.svg)](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/LICENSE) [![license](https://img.shields.io/crates/l/rocksdb.svg)](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/LICENSE)

Loading…
Cancel
Save