Commit graph

138 commits

Author SHA1 Message Date
Yurii Kolesnykov
2b17838820
Remove outdated info about nightly builds
Closes #16790.
PR #16791.
2022-04-02 13:59:35 +08:00
Chocobo1
a24f2ae884
GHA CI: bump "setup vcpkg" action version 2022-04-01 15:49:21 +08:00
Chocobo1
3951b891c1
GHA CI: work around error when installing Qt
This is to (temporarily) work around CI errors at jurplel/install-qt-action.
Upstream issue: https://github.com/jurplel/install-qt-action/issues/130
2022-03-29 11:26:57 +08:00
Chocobo1
f58eed13d0
GHA CI: use Qt6 for Windows builds
PR #16696.
2022-03-24 12:19:07 +08:00
xavier2k6
074cbdad28 GHA CI: Update upload-artifact action to v3 2022-03-04 23:13:36 +00:00
xavier2k6
a63515b8f4 GHA CI: Update stale action to v5 2022-03-02 19:44:46 +00:00
xavier2k6
4dcd6df136 GHA CI: Update setup-python action to v3 2022-03-02 19:41:43 +00:00
xavier2k6
cea1bbde23 GHA CI: Update checkout action to v3 2022-03-02 19:39:35 +00:00
Chocobo1
116664285d
GHA CI: Don't cancel CI builds on non-pull-request branches
Fix up 2652c73a4f.
PR #16558.
2022-03-02 13:26:13 +08:00
Chocobo1
36c14ca587
Merge pull request #16539 from Chocobo1/ci
GHA CI: install boost library manually
2022-02-28 12:43:58 +08:00
Chocobo1
0c118bed61
GHA CI: disable uploading built artifacts for macOS
The binary aren't usable universally because users are required to
install related libraries.
2022-02-27 15:45:27 +08:00
Chocobo1
6c6474291e
GHA CI: install boost library manually
libtorrent 2.0.5 has build issues with boost >= 1.78.
2022-02-27 15:45:26 +08:00
xavier2k6
7fa89c9ba4
GHA CI: Update "WebUI" setup-node action to v3
PR #16532.
2022-02-27 12:49:38 +08:00
Chocobo1
2652c73a4f
GHA CI: cancel outdated in-progress workflow runs
This will only cancel outdated workflow runs on PR branches and won't affect other normal repo
branches.
PR #16511.
2022-02-25 13:34:28 +08:00
Chocobo1
c05dbc451a
GHA CI: build libtorrent with /guard:cf flag
qbt cmake script enables that flag already, so it make sense to build
dependencies with it too.
PR #16083.
2022-01-14 14:43:22 +08:00
Chocobo1
cc13f3e10d
GHA CI: Don't upload built artifacts for dynamic linking builds
As those won't work on testers system unless they install *all* and
same version of the dependent libraries too.

PR #15870.
2021-12-21 12:26:50 +08:00
Chocobo1
35c31906b7
GHA CI: don't let lupdate scan boost library
As it produces superflous warnings.
2021-12-13 15:08:36 +08:00
xavier2k6
9d2bb67834
GHA CI: Update libtorrent version(s)
PR #15819.
2021-12-09 12:32:52 +08:00
Chocobo1
0ee303789a
GHA CI: include translation file generation in test
PR #15814.
2021-12-07 12:17:15 +08:00
Chocobo1
67c45efff7
GHA CI: Use prebuilt Qt library 2021-11-20 14:33:12 +08:00
Chocobo1
7150d05399
GHA CI: Simplify commands 2021-11-18 00:20:58 +08:00
Chocobo1
e33c4086b9
GHA CI: Revise artifact folder layout
Now qbittorrent binaries will be placed in its own folder and cmake
related artifacts will be in another.

PR #15683.
2021-11-06 11:11:47 +08:00
Chocobo1
559a979536
GHA CI: Add Qt6 builds
PR #15610.
2021-10-24 00:57:50 +08:00
xavier2k6
fb2fbc875d
GHA CI: Use macOS-latest VM image
PR #15589.
2021-10-22 12:16:11 +08:00
Chocobo1
3467358663
GHA CI: Switch to pre-commit framework for checking file health
Now users are able to run the same checks on their local development
environment.
https://pre-commit.com/
2021-10-11 22:17:10 +08:00
Chocobo1
89ca0c537d
Fix filename extension 2021-10-10 02:55:59 +08:00
Chocobo1
9a3d560d9e
GHA CI: use larger cache for compiling
Previous default was 500MB and it couldn't fit all compile results in
it, enlarge it to 2GB. Note that 2GB isn't the actual size stored on the
server, it will be compressed again by zstd and will be a lot smaller.
2021-10-03 16:38:34 +08:00
Chocobo1
4924fb95f8
GHA CI: build dependencies manually
Now it builds boost, libtorrent manually and we have control over its
version.
Enable build matrix for libtorrent versions.
Reorganized the folder/file layout in built artifact.
2021-10-03 16:07:03 +08:00
Chocobo1
763b9fc1da
Put PR template into action 2021-10-02 15:04:23 +08:00
Chocobo1
982133d9b6
CI: Clean up scripts
* Remove redundant dependencies
* Replace ccache action provider
* Let coverity-scan script build with libtorrent v2.0.4.

PR #15483.
2021-09-23 12:38:52 +08:00
xavier2k6
8518333406
Replace GitHub markdown templates with GitHub forms
PR #15330.
2021-09-17 12:51:33 +08:00
Chocobo1
c701379a2e
Fix typo 2021-09-11 12:07:52 +08:00
Chocobo1
70573eba2c
GHA CI: Use preinstalled vcpkg (#15355)
This will save maintenance work on the vcpkg version.

Also a few other improvements:
* Add quotes to path
* Sort command flags
* Avoid switching shell, always use powershell (the default shell)
2021-08-22 12:29:17 +08:00
Chocobo1
a9feae6110
GHA CI: Split "main CI" to multiple workflows 2021-08-19 11:54:58 +08:00
Chocobo1
c12e486f59
GHA CI: Use prebuilt library packages on macOS 2021-08-19 11:08:19 +08:00
Chocobo1
8799321312
GHA CI: Use ccache 2021-08-18 23:06:02 +08:00
Chocobo1
00d2997971
GHA CI: Move global environment variables out 2021-08-18 23:06:02 +08:00
Chocobo1
69f7f233fd
GHA CI: Remove OS variable from build matrix
It is meaningless to build on multiple linux versions as we only depend
on library versions, not OS versions.
Also remove redundant "shell default" section.
2021-08-18 23:06:02 +08:00
Chocobo1
793e8643bf
GHA CI: Support libtorrent v2.0.4 2021-08-18 23:05:23 +08:00
Chocobo1
7433d85418
Revise workflow steps name/description 2021-08-14 15:08:31 +08:00
Chocobo1
ba1cf12817
Capitalize workflow step names 2021-08-14 14:58:16 +08:00
Chocobo1
59352e4ca7
Use nodejs lts version for CI
The exact nodejs version isn't critical here, just make sure it isn't
too outdated.
2021-08-13 12:23:16 +08:00
Chocobo1
011d026d76
Rename jobs 2021-08-13 12:23:16 +08:00
Chocobo1
89a8184ad2
Avoid using legacy backticks
https://github.com/koalaman/shellcheck/wiki/SC2006
2021-08-13 12:23:16 +08:00
Chocobo1
a23e10dff5
Split commands to multiple lines properly 2021-08-13 12:23:16 +08:00
Chocobo1
535603fac4
Use latest Ubuntu images
Jobs in those workflows has little to do with specific OS version, so
just use the latest.
2021-08-13 12:23:16 +08:00
Chocobo1
fb6282da57
Add proper indention to steps section
Following the style from the examples in https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idsteps
2021-08-13 12:23:15 +08:00
Chocobo1
23766cd01d
Clean up Github workflows' name 2021-08-13 12:23:04 +08:00
sledgehammer999
44b2afb218
Merge pull request #15310 from Chocobo1/stale
Stale bot: Handle more PR per run
2021-08-11 17:29:45 +03:00
Chocobo1
9d9f774dad
Handle more PR per run
Previously only about ~27 PR are scanned per run, this commit attempt
to handle all open PR at once.
2021-08-10 13:14:25 +08:00
sledgehammer999
671eff324d
Merge pull request #15298 from sledgehammer999/coverity_workflow
Run Coverity once per month
2021-08-09 21:18:12 +03:00
Chocobo1
4ed99ba851
Introduce stale bot for PR (#15211)
Stale bot will mark stale PR with a tag and close them after a specified
interval of time.

* Draft PRs are not subject to this marking.
* PR with an assignee or milestone is not subject to this marking.
2021-08-09 11:26:04 +08:00
sledgehammer999
c6c8f6563d
Run Coverity once per month 2021-08-08 12:24:19 +03:00
Chocobo1
9f9c4d6ed0
Ignore file heath for 3rd party libraries 2021-08-05 16:03:19 +08:00
xavier2k6
5d151cca9d
GitHub Actions CI: update workflow (#15245)
- update vcpkg to latest commit (includes updated BOOST)
2021-07-30 15:18:38 +08:00
FranciscoPombal
1e1d55b26d
CI: Use Qt 5.15.2 from third-party PPA on Linux 2021-07-15 10:56:50 +03:00
FranciscoPombal
ccb7c0d579 Raise minimum libtorrent version to 1.2.14 (2.0.4)
- Also update vcpkg to latest commit: includes libtorrent 1.2.14,
Qt 5.15.2, and Qt 6.1.1
2021-06-28 23:04:47 +01:00
Vladimir Golovnev
5c0378a684
Merge pull request #15029 from glassez/qt-5.14
Raise minimum Qt version to 5.14
2021-06-14 16:48:15 +03:00
FranciscoPombal
8191246c19 CI: Use Qt 5.14.2 from third-party PPA on Linux 2021-06-07 14:17:32 +01:00
FranciscoPombal
437769ac0b Revise GitHub templates
- Separate templates into bug report and feature request
- Add a checklist and guidance comments
- Add a PR template
- Add SUPPORT.md
2021-06-04 11:18:44 +01:00
FranciscoPombal
211c92c387 GitHub Actions CI: update workflow
- update vcpkg to latest commit (includes updated libtorrent port)
- drop custom libtorrent port
- restore AppleClang workaround in the workflow file
- include install_manifest.txt in uploaded artifacts
- update actions to latest versions
- fix typos
2021-05-04 19:18:17 +01:00
Chocobo1
0eb39aa9e3
Perform installation step on Github Actions CI 2021-04-16 14:06:43 +08:00
Chocobo1
2e30ed17bd
Merge pull request #14686 from Chocobo1/actions_master
Enable Github Actions CI for all branches by default
2021-04-03 13:21:20 +08:00
Chocobo1
82efb83c43
Enable Github Actions CI for all branches by default 2021-04-01 12:52:31 +08:00
Vladimir Golovnev (glassez)
3e5f8c64d4
Raise minimum libtorrent version to 1.2.13 (2.0.3) 2021-03-30 19:56:22 +03:00
Chocobo1
45465e994e
Add WebUI checking to CI 2021-03-26 00:27:52 +08:00
Vladimir Golovnev
5c8806b307
CI: Don't compile on Ubuntu 18.04 2021-03-13 15:51:07 +03:00
Vladimir Golovnev
a2b0531d5f
Merge pull request #14189 from glassez/libtorrent-1.2.12
Raise minimum libtorrent version to 1.2.12 (2.0.2)
2021-03-01 20:43:28 +03:00
Chocobo1
acb1bc0c0e
Enable sponsor button on Github 2021-02-14 13:53:23 +08:00
Chocobo1
03e7019182
Simplify CI script directives 2021-02-04 16:15:57 +08:00
Chocobo1
82b0bc63a3
Don't trigger Github Actions CI builds after editing a PR's opening post
After dropping "edited" keyword, it is the same as the default.
2021-02-04 16:14:10 +08:00
Vladimir Golovnev (Glassez)
b673e0c219
CI: Use custom vcpkg libtorrent port 2021-01-28 11:47:08 +03:00
Vladimir Golovnev (Glassez)
f9e286123f
Raise minimum libtorrent version to 1.2.12 2021-01-10 14:38:58 +03:00
Chocobo1
52ce52d466
Unify "github actions" artifacts naming scheme 2021-01-09 12:59:08 +08:00
Chocobo1
50a2cc9917
Exclude configure script for "trailing newlines" checking 2021-01-01 12:58:23 +08:00
Chocobo1
d70b893852
Bump project requirement to C++17 2020-12-31 13:28:48 +08:00
FranciscoPombal
9f65a318da Bump dependency versions in CI
- Bump vcpkg version in GitHub Actions CI
- Bump libtorrent version in Travis CI

Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
2020-12-04 16:27:17 +00:00
FranciscoPombal
d79c5824b8 Detect .ts file issues with file health workflow
Also adjust newlines to improve output
2020-11-29 15:19:27 +00:00
Chocobo1
df3d3db776
Pin github actions scripts to major versions
> Using the specific major action version allows you to receive critical
> fixes and security patches while still maintaining compatibility. It
> also assures that your workflow should still work.
https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsuses
2020-11-21 15:41:32 +08:00
FranciscoPombal
8bb097fd10 Add GitHub Actions file health workflow 2020-10-30 21:32:36 +00:00
FranciscoPombal
4bdf9eda41 Fix extra/missing trailing new lines in files 2020-10-28 14:20:18 +00:00
FranciscoPombal
b63a34110e Update "GitHub Actions" CI actions versions 2020-10-25 11:53:48 +00:00
FranciscoPombal
7d01b6a29c Fix packages installation on Ubuntu CI 2020-10-08 13:55:58 +01:00
jagannatharjun
ebf9a60c69 By default use dynamic runtime with MSVC on CMake
This was default before CMake overhaul, and it doesn't
make sense to use static builds with daily developement.
Also static Qt builds are not readily available on Windows.
2020-09-27 00:03:02 +05:30
FranciscoPombal
eed50c4893 Add GitHub Actions CI workflow
- Ubuntu 18.04/20.04, GUI ON/OFF
- Windows 2019
- macOS 10.15 GUI ON/OFF
2020-09-21 17:13:33 +01:00
Alexandre ZANNI
21d7ca8eab
Fix ambiguity in GitHub Issue template 2019-09-02 20:16:26 +02:00
sledgehammer999
325f9f629d
Improve the github issue template. 2017-11-20 16:20:10 +02:00
sledgehammer999
28547f4ec5
Add template for issues. 2017-01-11 20:11:59 +02:00