Skip to content

Commit

Permalink
Merge pull request #6 from signalapp/jack/github-actions
Browse files Browse the repository at this point in the history
Add CI using Github actions
  • Loading branch information
jack-signal authored Aug 25, 2020
2 parents a378dca + a64c893 commit 3295172
Show file tree
Hide file tree
Showing 5 changed files with 464 additions and 173 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Rust

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Rustfmt check
run: cargo fmt -- --check
# - name: Build
# run: cargo build --verbose
# - name: Run tests
# run: cargo test --verbose
# - name: Clippy
# run: cargo clippy
1 change: 1 addition & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
edition = "2018"
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ crate-type = ["dylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
libsignal-protocol-rust = { path = "../libsignal-protocol-rust" }
#libsignal-protocol-rust = { git = "ssh://git@github.com/signalapp/libsignal-protocol-rust.git" }
libsignal-protocol-rust = { git = "ssh://git@github.com/signalapp/libsignal-protocol-rust.git" }
jni = "0.17"
rand = "0.7.3"
Loading

0 comments on commit 3295172

Please sign in to comment.