Skip to content

Commit

Permalink
add required build flags to rpcimportable test
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Oct 1, 2024
1 parent b25c7af commit a74625f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
run: cat go.mod
- name: go test
working-directory: contrib/rpcimportable
run: go test ./...
run: ./test.sh
ci-ok:
runs-on: ubuntu-22.04
needs:
Expand Down
9 changes: 9 additions & 0 deletions contrib/rpcimportable/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# run rpcimportable test with the required build flags

set -eo pipefail

cd "$(dirname "$0")"

go test -tags libsecp256k1_sdk -ldflags=all="-extldflags=-Wl,--allow-multiple-definition" ./...

0 comments on commit a74625f

Please sign in to comment.