Chocobo1
908f345e22
GHA CI: switch to Ubuntu latest stable version
2 years ago
summer
0e3ce019e4
Update libtorrent to 2.0.7 & 1.2.17 in GHA CI
...
PR #17385 .
2 years ago
Chocobo1
03da68b1cf
Add support for unit testing
...
* Downgraded macOS CI to Qt 6.2.0 due to a bug in Qt Test module
* Revised cmake build scripts
* For now, only building via cmake is supported
PR #17338 .
2 years ago
xavier2k6
d0b13f0eb0
GHA CI: "file health" update `pre-commit` action to `v3.0.0`
...
* Update `pre-commit` action to `v3.0.0`
https://github.com/pre-commit/action/releases
* Bump pre-commit-hooks to `v4.3.0`
https://github.com/pre-commit/pre-commit-hooks.git
PR #17195 .
2 years ago
sledgehammer999
63cdfa2d85
Update CIs to correctly regenerate translations files
3 years ago
xavier2k6
b740cc23d3
GHA CI: Update dependencies
...
Update `libtorrent` version(s) to `2.0.6` & `1.2.16` in `GHA CI`
- https://github.com/arvidn/libtorrent/releases/tag/v2.0.6
- https://github.com/arvidn/libtorrent/releases/tag/v1.2.16
Update `Boost` version to `1.79.0`
- https://www.boost.org/users/history/version_1_79_0.html
Bump `pre-commit-hooks` version to `4.2.0`
- https://github.com/pre-commit/pre-commit-hooks/releases/tag/v4.2.0
Update `Qt6` version to `6.3.0`
- https://www.qt.io/blog/qt-6.3-released
- https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.3.0/release-note.md
Note: used `aqtinstall 2.1.0` with `jurplel/install-qt-action` for support of `Qt 6.2.1+`
(this requirement can be removed on official release of `jurplel/install-qt-action v3`)
PR #16888 .
3 years ago
Chocobo1
a24f2ae884
GHA CI: bump "setup vcpkg" action version
3 years ago
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
3 years ago
Chocobo1
f58eed13d0
GHA CI: use Qt6 for Windows builds
...
PR #16696 .
3 years ago
xavier2k6
074cbdad28
GHA CI: Update `upload-artifact` action to `v3`
3 years ago
xavier2k6
a63515b8f4
GHA CI: Update `stale` action to `v5`
3 years ago
xavier2k6
4dcd6df136
GHA CI: Update `setup-python` action to `v3`
3 years ago
xavier2k6
cea1bbde23
GHA CI: Update `checkout` action to `v3`
3 years ago
Chocobo1
116664285d
GHA CI: Don't cancel CI builds on non-pull-request branches
...
Fix up 2652c73a4f
.
PR #16558 .
3 years ago
Chocobo1
0c118bed61
GHA CI: disable uploading built artifacts for macOS
...
The binary aren't usable universally because users are required to
install related libraries.
3 years ago
Chocobo1
6c6474291e
GHA CI: install boost library manually
...
libtorrent 2.0.5 has build issues with boost >= 1.78.
3 years ago
xavier2k6
7fa89c9ba4
GHA CI: Update "WebUI" `setup-node` action to `v3`
...
PR #16532 .
3 years ago
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 .
3 years ago
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 .
3 years ago
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 .
3 years ago
Chocobo1
35c31906b7
GHA CI: don't let lupdate scan boost library
...
As it produces superflous warnings.
3 years ago
xavier2k6
9d2bb67834
GHA CI: Update libtorrent version(s)
...
PR #15819 .
3 years ago
Chocobo1
0ee303789a
GHA CI: include translation file generation in test
...
PR #15814 .
3 years ago
Chocobo1
67c45efff7
GHA CI: Use prebuilt Qt library
3 years ago
Chocobo1
7150d05399
GHA CI: Simplify commands
3 years ago
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 .
3 years ago
Chocobo1
559a979536
GHA CI: Add Qt6 builds
...
PR #15610 .
3 years ago
xavier2k6
fb2fbc875d
GHA CI: Use macOS-latest VM image
...
PR #15589 .
3 years ago
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/
3 years ago
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.
3 years ago
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.
3 years ago
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 .
3 years ago
Chocobo1
c701379a2e
Fix typo
3 years ago
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)
3 years ago
Chocobo1
a9feae6110
GHA CI: Split "main CI" to multiple workflows
3 years ago
Chocobo1
c12e486f59
GHA CI: Use prebuilt library packages on macOS
3 years ago
Chocobo1
8799321312
GHA CI: Use ccache
3 years ago
Chocobo1
00d2997971
GHA CI: Move global environment variables out
3 years ago
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.
3 years ago
Chocobo1
793e8643bf
GHA CI: Support libtorrent v2.0.4
3 years ago
Chocobo1
7433d85418
Revise workflow steps name/description
3 years ago
Chocobo1
ba1cf12817
Capitalize workflow step names
3 years ago
Chocobo1
59352e4ca7
Use nodejs lts version for CI
...
The exact nodejs version isn't critical here, just make sure it isn't
too outdated.
3 years ago
Chocobo1
011d026d76
Rename jobs
3 years ago
Chocobo1
89a8184ad2
Avoid using legacy backticks
...
https://github.com/koalaman/shellcheck/wiki/SC2006
3 years ago
Chocobo1
a23e10dff5
Split commands to multiple lines properly
3 years ago
Chocobo1
535603fac4
Use latest Ubuntu images
...
Jobs in those workflows has little to do with specific OS version, so
just use the latest.
3 years ago
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
3 years ago
Chocobo1
23766cd01d
Clean up Github workflows' name
3 years ago
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.
3 years ago