Skip to content

update to libtorrent master HEAD #305

update to libtorrent master HEAD

update to libtorrent master HEAD #305

Workflow file for this run

name: Windows
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
x86_64:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: install packages
run: |
choco install boost-msvc-14.2
choco install openssl
choco install mingw
choco install grep
- name: cmake
run: |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -B build -G "Visual Studio 16 2019" -A x64 swig
- name: build
run: cmake --build build --config Release --parallel 2
- name: dependencies
run: objdump -p build/Release/torrent4j.dll | grep DLL
- name: test
run: |
cp build/Release/torrent4j.dll libtorrent4j.dll
./gradlew test
- uses: actions/upload-artifact@v2
with:
name: libtorrent4j.dll
path: libtorrent4j.dll
retention-days: 5