From a54772bf35abd0eca5a3829c5d40c4ba2ca62e68 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 17 Nov 2021 12:02:42 +0800 Subject: [PATCH] Appveyor CI: Upload built artifacts --- .appveyor.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 5f465ac7d..fb3471120 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -56,4 +56,38 @@ build_script: - qmake qbittorrent.pro && cd src && qmake src.pro - jom -j2 -f Makefile.Release +after_build: + - cd "%REPO_DIR%" + - MKDIR upload + - COPY dist\windows\qt.conf upload + - COPY src\release\qbittorrent.exe upload + - COPY src\release\qbittorrent.pdb upload + - COPY "%CACHE_DIR%\base\bin\libcrypto-1_1-x64.dll" upload + - COPY "%CACHE_DIR%\base\bin\libssl-1_1-x64.dll" upload + - COPY "%CACHE_DIR%\base\lib\torrent-rasterbar.dll" upload + - COPY "%CACHE_DIR%\base\lib\zlib1.dll" upload + - COPY C:\Qt\5.15.2\msvc2019_64\bin\Qt5Core.dll upload + - COPY C:\Qt\5.15.2\msvc2019_64\bin\Qt5Gui.dll upload + - COPY C:\Qt\5.15.2\msvc2019_64\bin\Qt5Network.dll upload + - COPY C:\Qt\5.15.2\msvc2019_64\bin\Qt5Sql.dll upload + - COPY C:\Qt\5.15.2\msvc2019_64\bin\Qt5Svg.dll upload + - COPY C:\Qt\5.15.2\msvc2019_64\bin\Qt5Widgets.dll upload + - COPY C:\Qt\5.15.2\msvc2019_64\bin\Qt5WinExtras.dll upload + - COPY C:\Qt\5.15.2\msvc2019_64\bin\Qt5Xml.dll upload + - MKDIR upload\plugins\iconengines + - COPY C:\Qt\5.15.2\msvc2019_64\plugins\iconengines\qsvgicon.dll upload\plugins\iconengines + - MKDIR upload\plugins\imageformats + - COPY C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qico.dll upload\plugins\imageformats + - COPY C:\Qt\5.15.2\msvc2019_64\plugins\imageformats\qsvg.dll upload\plugins\imageformats + - MKDIR upload\plugins\platforms + - COPY C:\Qt\5.15.2\msvc2019_64\plugins\platforms\qwindows.dll upload\plugins\platforms + - MKDIR upload\plugins\sqldrivers + - COPY C:\Qt\5.15.2\msvc2019_64\plugins\sqldrivers\qsqlite.dll upload\plugins\sqldrivers + - MKDIR upload\plugins\styles + - COPY C:\Qt\5.15.2\msvc2019_64\plugins\styles\qwindowsvistastyle.dll upload\plugins\styles + test: off + +artifacts: + - path: upload + name: qBittorrent-Appveyor_Windows-x64