Skip to content

Commit

Permalink
cch: simple BTC/CKB payment channel hub service
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian committed Jun 28, 2024
1 parent f84cb3d commit 0fa868e
Show file tree
Hide file tree
Showing 45 changed files with 2,726 additions and 308 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- open-use-close-a-channel
- udt
- reestablish
- cross-chain-hub
release:
- "0.116.1"
test_env:
Expand Down Expand Up @@ -41,9 +42,21 @@ jobs:
wget "https://github.com/nervosnetwork/ckb/releases/download/v${version}/ckb_v${version}_x86_64-unknown-linux-gnu-portable.tar.gz"
tar -xvaf "ckb_v${version}_x86_64-unknown-linux-gnu-portable.tar.gz"
sudo mv "ckb_v${version}_x86_64-unknown-linux-gnu-portable"/* /usr/local/bin/
if [ ${{ matrix.workflow }} = "cross-chain-hub" ]; then
wget "https://bitcoin.org/bin/bitcoin-core-27.0/bitcoin-27.0-x86_64-linux-gnu.tar.gz"
tar -xvaf "bitcoin-27.0-x86_64-linux-gnu.tar.gz"
echo "$(pwd)/bitcoin-27.0/bin" >> $GITHUB_PATH
wget "https://github.com/lightningnetwork/lnd/releases/download/v0.18.0-beta/lnd-linux-amd64-v0.18.0-beta.tar.gz"
tar -xvaf "lnd-linux-amd64-v0.18.0-beta.tar.gz"
echo "$(pwd)/lnd-linux-amd64-v0.18.0-beta" >> $GITHUB_PATH
fi
- name: Run e2e workflow
run: |
if [ ${{ matrix.workflow }} = "cross-chain-hub" ]; then
./tests/deploy/lnd-init/setup-lnd.sh
fi
# Prebuild the program so that we can run the following script faster
cargo build
cd tests/deploy/udt-init && cargo build && cd -
Expand Down
Loading

0 comments on commit 0fa868e

Please sign in to comment.