mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
CI: use gotorrent from git; use rust-bullseye
This commit is contained in:
parent
82a36041b3
commit
7b4e00bb79
2 changed files with 3 additions and 4 deletions
2
.github/actions/test-transfer/Dockerfile
vendored
2
.github/actions/test-transfer/Dockerfile
vendored
|
|
@ -1,5 +1,5 @@
|
|||
# Container image that runs your code
|
||||
FROM rust:latest
|
||||
FROM rust:bullseye
|
||||
|
||||
# Copies your code file from your action repository to the filesystem path `/` of the container
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
|
|
|||
5
.github/actions/test-transfer/entrypoint.sh
vendored
5
.github/actions/test-transfer/entrypoint.sh
vendored
|
|
@ -24,8 +24,6 @@ fi
|
|||
$SUDO apt-get update
|
||||
$SUDO apt-get install -y cmake libssl-dev screen rtorrent mktorrent ssl-cert ca-certificates curl golang
|
||||
|
||||
$SUDO go get github.com/anacrolix/torrent/cmd/torrent
|
||||
|
||||
$SUDO curl -sL https://deb.nodesource.com/setup_15.x | bash -
|
||||
$SUDO apt-get install nodejs -y
|
||||
|
||||
|
|
@ -246,8 +244,9 @@ 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 &
|
||||
|
||||
git clone https://github.com/anacrolix/torrent.git leech
|
||||
cd leech
|
||||
GOPPROF=http torrent download ./torrents/wss-ipv4.torrent > "$HOME/wss-leech.log" 2>&1 &
|
||||
GOPPROF=http go run -v ./cmd/torrent download ./torrents/wss-ipv4.torrent > "$HOME/wss-leech.log" 2>&1 &
|
||||
cd ..
|
||||
|
||||
# Check for completion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue