Skip to content

Commit

Permalink
Merge pull request #17 from ivan770/replication
Browse files Browse the repository at this point in the history
Queue replication
  • Loading branch information
ivan770 authored Jul 20, 2020
2 parents 5e2a65a + a8de970 commit 19c352e
Show file tree
Hide file tree
Showing 32 changed files with 1,300 additions and 114 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build documentation
run: cargo doc --all --no-deps
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Generate documentation
uses: actions-rs/cargo@v1
with:
command: doc
args: --all --no-deps
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true
publish_dir: target/doc
force_orphan: true
48 changes: 33 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,39 @@ jobs:
name: Build Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --release --verbose
- uses: actions/upload-artifact@v1
with:
name: linux
path: target/release/spartan
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Upload binary
uses: actions/upload-artifact@v1
with:
name: linux
path: target/release/spartan
win:
name: Build Win
name: Build Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --release --verbose
- uses: actions/upload-artifact@v1
with:
name: win
path: target/release/spartan.exe
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Upload binary
uses: actions/upload-artifact@v1
with:
name: windows
path: target/release/spartan.exe
26 changes: 20 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,26 @@ jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
Loading

0 comments on commit 19c352e

Please sign in to comment.