diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1c599b1..eef6e0f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/justfile b/justfile new file mode 100644 index 0000000..b95259f --- /dev/null +++ b/justfile @@ -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