Skip to content

Commit 47afd63

Browse files
committed
fix(ci): repair torrent permissions and Windows test binding
1 parent 764efab commit 47afd63

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/official-plugins.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ jobs:
8989
fi
9090
- name: Install swarm test binding
9191
if: matrix.os != 'windows-11-arm'
92-
run: python -m pip install libtorrent==2.0.11
92+
# 2.0.11 Windows wheels require unbundled OpenSSL 1.1 DLLs.
93+
run: |
94+
python -m pip install --only-binary=:all: libtorrent==${{ runner.os == 'Windows' && '2.0.15' || '2.0.11' }}
95+
python -c "import libtorrent; print(libtorrent.version)"
9396
- name: Exercise native library with a real local swarm
9497
if: matrix.os != 'windows-11-arm'
9598
shell: bash

‎scripts/plugins/build-torrent-linux.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4+
# Docker must not create the Cargo target directory as root.
5+
mkdir -p target
6+
47
# Match the oldest desktop bundle's glibc floor, including the AppImage.
58
docker run --rm -v "$PWD:/source" -w /source ubuntu:20.04 bash -euc '
69
export DEBIAN_FRONTEND=noninteractive

0 commit comments

Comments
 (0)