CI: fix gotorrent install path

This commit is contained in:
Joakim Frostegård 2021-08-16 20:50:30 +02:00
parent fad3e1ea0d
commit 015f31b8cc
2 changed files with 4 additions and 5 deletions

View file

@ -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
cd gotorrent
go build -o ../gotorrent ./cmd/torrent
go build -o $HOME/gotorrent ./cmd/torrent
cd ..
file $HOME/gotorrent
$SUDO curl -sL https://deb.nodesource.com/setup_15.x | bash -
$SUDO apt-get install nodejs -y
@ -242,7 +243,7 @@ fi
# Start seeding ws client 2
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 ..
# 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 &
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 ..
# Check for completion

2
Cargo.lock generated
View file

@ -1,7 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "addr2line"
version = "0.16.0"