mirror of https://github.com/railgun-rs/actix-raft
43 lines
1015 B
YAML
43 lines
1015 B
YAML
on: [push]
|
|
name: ci
|
|
jobs:
|
|
build-async-raft:
|
|
name: build async-raft
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: -p async-raft --release
|
|
|
|
build-async-raft-nightly:
|
|
name: build async-raft nightly
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: nightly
|
|
override: true
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: -p async-raft --release --all-features
|
|
|
|
build-memstore:
|
|
name: build memstore
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: -p memstore --release
|