Skip to content

Commit

Permalink
Add justfile, fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Feb 16, 2024
1 parent f651a37 commit 84ec708
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
run: cargo build --verbose --target=x86_64-unknown-linux-gnu
- name: Run tests
run: cargo test --all-features --verbose
run: cargo test -p bitcoin-waila --target=x86_64-unknown-linux-gnu --all-features --verbose
11 changes: 11 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

[linux]
test:
cargo test -p bitcoin-waila --target=x86_64-unknown-linux-gnu --all-features

[macos]
test:
cargo test -p bitcoin-waila --target=aarch64-apple-darwin --all-features

test-nix:
cargo test -p bitcoin-waila --target=aarch64-unknown-linux-gnu --all-features

0 comments on commit 84ec708

Please sign in to comment.