Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-bdk-ffi-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:

- name: "Run JVM tests"
run: |
bash ./scripts/build-linux-x86_64.sh
bash ./scripts/build-linux-x86_64.sh --skip-submodule-update
./gradlew test -P excludeConnectedTests
./gradlew :examples:build
9 changes: 7 additions & 2 deletions scripts/build-linux-x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ RESOURCE_DIR="resources/linux-x86-64"
LIB_NAME="libbdkffi.so"

printf "\nSubmodule check...\n"
git submodule update --init
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
if [[ "$1" != "--skip-submodule-update" ]]; then
git submodule update --init
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
else
printf "Skipping submodule update, using local changes.\n"
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
fi

# Move to the Rust library directory
cd ./bdk-ffi/bdk-ffi/ || exit
Expand Down
9 changes: 7 additions & 2 deletions scripts/build-macos-aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ RESOURCE_DIR="resources/darwin-aarch64"
LIB_NAME="libbdkffi.dylib"

printf "\nSubmodule check...\n"
git submodule update --init
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
if [[ "$1" != "--skip-submodule-update" ]]; then
git submodule update --init
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
else
printf "Skipping submodule update, using local changes.\n"
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
fi

# Move to the Rust library directory
cd ./bdk-ffi/bdk-ffi/ || exit
Expand Down
9 changes: 7 additions & 2 deletions scripts/build-macos-x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ RESOURCE_DIR="resources/darwin-x86-64"
LIB_NAME="libbdkffi.dylib"

printf "\nSubmodule check...\n"
git submodule update --init
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
if [[ "$1" != "--skip-submodule-update" ]]; then
git submodule update --init
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
else
printf "Skipping submodule update, using local changes.\n"
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
fi

# Move to the Rust library directory
cd ./bdk-ffi/bdk-ffi/ || exit
Expand Down
9 changes: 7 additions & 2 deletions scripts/build-windows-x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ RESOURCE_DIR="resources/win32-x86-64"
LIB_NAME="bdkffi.dll"

printf "\nSubmodule check...\n"
git submodule update --init
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
if [[ "$1" != "--skip-submodule-update" ]]; then
git submodule update --init
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
else
printf "Skipping submodule update, using local changes.\n"
printf "Submodule is checked out at commit: $(git submodule status)\n\n"
fi

# Move to the Rust library directory
cd ./bdk-ffi/bdk-ffi/ || exit
Expand Down
Loading