Skip to content

Commit

Permalink
Use latest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier2k6 committed Dec 12, 2024
1 parent 2745146 commit 3f08308
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 500 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_file_health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
curl \
-L \
-o "${{ runner.temp }}/pandoc.tar.gz" \
"https://github.com/jgm/pandoc/releases/download/3.4/pandoc-3.4-linux-amd64.tar.gz"
"https://github.com/jgm/pandoc/releases/download/3.6/pandoc-3.6-linux-amd64.tar.gz"
tar -xf "${{ runner.temp }}/pandoc.tar.gz" -C "${{ github.workspace }}/.."
mv "${{ github.workspace }}/.."/pandoc-* "${{ env.pandoc_path }}"
# run pandoc
Expand Down
149 changes: 0 additions & 149 deletions .github/workflows/ci_macos.yaml

This file was deleted.

170 changes: 0 additions & 170 deletions .github/workflows/ci_ubuntu.yaml

This file was deleted.

26 changes: 9 additions & 17 deletions .github/workflows/ci_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
strategy:
fail-fast: false
matrix:
libt_version: ["2.0.10", "1.2.19"]
libt_version: ["RC_2_0", "RC_1_2"]
qt_version: ["6.8.1"]

env:
boost_path: "${{ github.workspace }}/../boost"
Expand Down Expand Up @@ -78,7 +79,7 @@ jobs:
- name: Install boost
env:
BOOST_MAJOR_VERSION: "1"
BOOST_MINOR_VERSION: "86"
BOOST_MINOR_VERSION: "87"
BOOST_PATCH_VERSION: "0"
run: |
$boost_url="https://boostorg.jfrog.io/artifactory/main/release/${{ env.BOOST_MAJOR_VERSION }}.${{ env.BOOST_MINOR_VERSION }}.${{ env.BOOST_PATCH_VERSION }}/source/boost_${{ env.BOOST_MAJOR_VERSION }}_${{ env.BOOST_MINOR_VERSION }}_${{ env.BOOST_PATCH_VERSION }}.tar.gz"
Expand All @@ -95,15 +96,17 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: "6.8.0"
py7zrversion: '>=0.22.0'
aqtversion: '>=3.1.20'
version: ${{ matrix.qt_version }}
arch: win64_msvc2022_64
archives: qtbase qtsvg qttools
cache: true

- name: Install libtorrent
run: |
git clone `
--branch v${{ matrix.libt_version }} `
--branch ${{ matrix.libt_version }} `
--depth 1 `
--recurse-submodules `
https://github.com/arvidn/libtorrent.git `
Expand Down Expand Up @@ -171,7 +174,7 @@ jobs:
mkdir upload/qBittorrent/plugins/sqldrivers
copy "${{ env.Qt_ROOT_DIR }}/plugins/sqldrivers/qsqlite.dll" upload/qBittorrent/plugins/sqldrivers
mkdir upload/qBittorrent/plugins/styles
copy "${{ env.Qt_ROOT_DIR }}/plugins/styles/qmodernwindowsstyle.dll" upload/qBittorrent/plugins/styles
copy "${{ env.Qt_ROOT_DIR }}/plugins/styles/*style.dll" upload/qBittorrent/plugins/styles
mkdir upload/qBittorrent/plugins/tls
copy "${{ env.Qt_ROOT_DIR }}/plugins/tls/qschannelbackend.dll" upload/qBittorrent/plugins/tls
# cmake additionals
Expand All @@ -184,16 +187,5 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: qBittorrent-CI_Windows-x64_libtorrent-${{ matrix.libt_version }}
name: qBittorrent-CI_Windows-x64_libtorrent-${{ matrix.libt_version }}_Qt-${{ matrix.qt_version }}
path: upload

- name: Create installer
run: |
7z x -o"dist/windows/" "dist/windows/NSISPlugins.zip"
makensis /DQBT_DIST_DIR="../../upload/qBittorrent" /WX dist/windows/qbittorrent.nsi
- name: Upload installer
uses: actions/upload-artifact@v4
with:
name: qBittorrent-CI_Windows-x64_libtorrent-${{ matrix.libt_version }}-setup
path: dist/windows/qbittorrent_*_setup.exe
Loading

0 comments on commit 3f08308

Please sign in to comment.