mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
CI: fix gotorrent install path
This commit is contained in:
parent
fad3e1ea0d
commit
015f31b8cc
2 changed files with 4 additions and 5 deletions
7
.github/actions/test-transfer/entrypoint.sh
vendored
7
.github/actions/test-transfer/entrypoint.sh
vendored
|
|
@ -26,8 +26,9 @@ $SUDO apt-get install -y cmake libssl-dev screen rtorrent mktorrent ssl-cert ca-
|
||||||
|
|
||||||
git clone https://github.com/anacrolix/torrent.git gotorrent
|
git clone https://github.com/anacrolix/torrent.git gotorrent
|
||||||
cd gotorrent
|
cd gotorrent
|
||||||
go build -o ../gotorrent ./cmd/torrent
|
go build -o $HOME/gotorrent ./cmd/torrent
|
||||||
cd ..
|
cd ..
|
||||||
|
file $HOME/gotorrent
|
||||||
|
|
||||||
$SUDO curl -sL https://deb.nodesource.com/setup_15.x | bash -
|
$SUDO curl -sL https://deb.nodesource.com/setup_15.x | bash -
|
||||||
$SUDO apt-get install nodejs -y
|
$SUDO apt-get install nodejs -y
|
||||||
|
|
@ -242,7 +243,7 @@ fi
|
||||||
# Start seeding ws client 2
|
# Start seeding ws client 2
|
||||||
|
|
||||||
cd seed
|
cd seed
|
||||||
GOPPROF=http GODEBUG=x509ignoreCN=0 ../gotorrent download --seed ../torrents/wss-ipv4.torrent > "$HOME/wss-seed2.log" 2>&1 &
|
GOPPROF=http GODEBUG=x509ignoreCN=0 $HOME/gotorrent download --seed ../torrents/wss-ipv4.torrent > "$HOME/wss-seed2.log" 2>&1 &
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Start leeching clients
|
# Start leeching clients
|
||||||
|
|
@ -256,7 +257,7 @@ screen -dmS rtorrent-leech rtorrent
|
||||||
# ./node_modules/webtorrent-hybrid/bin/cmd.js download ./torrents/wss-ipv4.torrent -o leech > "$HOME/wss-leech.log" 2>&1 &
|
# ./node_modules/webtorrent-hybrid/bin/cmd.js download ./torrents/wss-ipv4.torrent -o leech > "$HOME/wss-leech.log" 2>&1 &
|
||||||
|
|
||||||
cd leech
|
cd leech
|
||||||
GOPPROF=http GODEBUG=x509ignoreCN=0 ../gotorrent download ../torrents/wss-ipv4.torrent > "$HOME/wss-leech.log" 2>&1 &
|
GOPPROF=http GODEBUG=x509ignoreCN=0 $HOME/gotorrent download ../torrents/wss-ipv4.torrent > "$HOME/wss-leech.log" 2>&1 &
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Check for completion
|
# Check for completion
|
||||||
|
|
|
||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -1,7 +1,5 @@
|
||||||
# This file is automatically @generated by Cargo.
|
# This file is automatically @generated by Cargo.
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
version = 3
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "addr2line"
|
name = "addr2line"
|
||||||
version = "0.16.0"
|
version = "0.16.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue