Chocobo1
04154ebb76
GHA CI: don't use hardcoded path
...
PR #20763 .
2024-05-17 01:44:43 +08:00
xavier2k6
ddb0ff29e2
GHA CI: Use Qt 6.7.0 on Windows and macOS
...
PR #20431 .
2024-04-22 15:21:16 +03:00
xavier2k6
6c57fad0cd
GHA CI: Bump Boost version to 1.85.0
...
PR #20723 .
2024-04-22 13:39:58 +08:00
Chocobo1
01cc4ea90b
GHA CI: revise packaging failure detection
...
Fix up 1d221c22e4
.
PR #20664 .
2024-04-09 14:22:05 +08:00
dependabot[bot]
e4aad461c7
GHA CI: Bump Github Actions versions
...
PR #20652 .
---
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 13:00:50 +08:00
Chocobo1
1d221c22e4
GHA CI: retry action on failure
...
PR #20641 .
2024-04-01 19:59:26 +08:00
Chocobo1
2fe91a6c8f
GHA CI: only store cache for master branch
...
Also set a lower cache limit for macOS to prevent cache thrashing. Previously the default was 5G.
PR #20640 .
2024-04-01 19:36:45 +08:00
xavier2k6
c6ee0ff017
GHA CI: Bump libtorrent 2 version to 2.0.10
...
PR #20455 .
2024-02-25 19:30:20 +08:00
xavier2k6
6d68ab4dae
GHA CI: Bump boost dependency and revise install method
...
PR #20371 .
2024-02-14 03:36:47 +08:00
dependabot[bot]
293a2efca7
GHA CI: Bump Github Actions versions
...
PR #20220 .
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 16:23:09 +08:00
Chocobo1
8bd604f633
GHA CI: add fallback URL for boost library
...
Boost main download site jfrog is unavailable at the time of writing.
Related: https://github.com/boostorg/boost/issues/842
PR #20218 .
2024-01-02 15:54:49 +08:00
Chocobo1
608efc77e8
GHA CI: put libtorrent into its own directory
...
Previously it was rooted within qbt project and it caused some issues when running
'update translations' command.
2023-12-05 02:39:24 +08:00
Chocobo1
e99a012bb4
GHA CI: only store compile cache on stable branches
...
Given the amount of PR and compile matrix, the CI cache size limit is
easy to hit. So for now on, only store compile cache for stable branches
to avoid cache thrashing.
2023-11-21 13:49:10 +08:00
Chocobo1
75feacb213
GHA CI: enable caching for Qt library
2023-11-21 13:49:10 +08:00
Chocobo1
bcfa251290
GHA CI: speed up boost installation
...
Here is some benchmark for various archive formats:
```
gz
0m11.384s
0m11.495s
0m11.193s
zip
0m14.159s
0m14.416s
0m13.917s
7z
0m17.569s
0m17.295s
0m18.496s
bz2
0m31.519s
0m28.885s
0m29.510s
```
Looking by compressed size, bz2 is the best. However its decompressing
speed is the slowest. bz2 and gz file size only differs by ~20MB
and this difference is neglectable given the network speed on
Github. So switch to gz format to speed up CI build time.
PR #19867 .
2023-11-06 14:10:51 +08:00
xavier2k6
cacae42e5e
Bump OpenSSL requirement to 3.0.2
...
Addresses:
* [CVE-2022-0778](https://github.com/advisories/GHSA-x3mh-jvjw-3xwx )
* [OpenSSL 1.1.1 End of Life](https://www.openssl.org/blog/blog/2023/09/11/eol-111/ )
PR #19638 .
2023-09-26 06:51:53 +03:00
Chocobo1
88d32d57ab
GHA CI: enable run-time checks in C++ library
...
Those have minimal impact on run-time:
https://www.gnu.org/software/libc/manual/html_node/Source-Fortification.html
https://bugs.launchpad.net/kicad/+bug/1838448/comments/40
PR #19608 .
2023-09-19 00:25:02 +08:00
Chocobo1
d19f4c2e1f
GHA CI: bump versions
2023-09-07 15:30:01 +08:00
xavier2k6
21b77cb4f8
GHA CI: Bump Windows/macOS Boost version to 1.83.0
...
PR #19453 .
2023-08-15 14:04:44 +03:00
Chocobo1
4d98761e99
GHA CI: remove redundant conditionals
2023-08-08 23:56:04 +08:00
xavier2k6
5b0706df65
GHA CI: Bump Qt version to 6.5.2
...
PR #19378 .
2023-07-27 17:45:26 +03:00
Vladimir Golovnev
dbe79484d2
Drop support of Qt 5
...
Also remove usage of some deprecated stuff.
PR #19338 .
2023-07-20 11:17:27 +03:00
Chocobo1
060466e326
GHA CI: fix environment variable not being used
...
Related issue: https://github.com/Wandalen/wretry.action/issues/106
A workaround was suggested in https://github.com/Wandalen/wretry.action/issues/106#issuecomment-1631860467
PR #19303 .
2023-07-13 13:26:47 +08:00
Chocobo1
045b4f0a06
GHA CI: retry flaky steps automatically
...
PR #19270 .
2023-07-03 21:19:01 +08:00
Chocobo1
11ac4e7620
GHA CI: upload macOS bundles
...
Hopefully those bundles will be runnable on users machine.
PR #19023 .
2023-05-29 12:24:12 +08:00
xavier2k6
ba93d55a6d
GHA CI: Bump libtorrent version(s)
...
PR #19006 .
2023-05-24 05:10:57 +03:00
xavier2k6
cddf8c199c
GHA CI: Update some dependencies
...
PR #18870 .
2023-04-24 13:15:46 +08:00
Chocobo1
6fd522472c
GHA CI: drop needless syntax
...
https://docs.github.com/en/actions/learn-github-actions/expressions#about-expressions
>When you use expressions in an if conditional, you may omit the
>expression syntax (${{ }}) because GitHub automatically evaluates the if conditional as an expression.
2023-03-12 14:27:10 +08:00
Chocobo1
7ae83df5a5
GHA CI: compress debug symbols
...
The result binary is smaller.
2023-02-17 13:00:10 +08:00
Chocobo1
19f55512c1
GHA CI: don't overwrite system default compile flags
...
System might have some default compile flags which are crucial for security hardening so we
should append our flags instead of overwriting them.
2023-02-17 13:00:10 +08:00
Chocobo1
d2c4b69f47
GHA CI: use least permission level
...
`actions: write` is required by Chocobo1/setup-ccache-action.
`pull-requests: write` is required by actions/stale.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
2023-02-17 13:00:10 +08:00
Chocobo1
4170b4e21b
GHA CI: speed up package installation on macOS
...
Setup time is shortened by cutting down unnecessary operations.
https://docs.brew.sh/Manpage#environment
2023-02-17 13:00:10 +08:00
xavier2k6
3f39bd9f35
GHA CI: Bump Boost version to 1.81.0 on Windows/macOS
...
PR #18279 .
2022-12-24 20:03:12 +03:00
xavier2k6
9fb8f765e8
GHA CI: Bump libtorrent version(s)
...
* https://github.com/arvidn/libtorrent/releases/tag/v2.0.8
* https://github.com/arvidn/libtorrent/releases/tag/v1.2.18
PR #17924 .
2022-10-25 12:44:57 +08:00
Chocobo1
dcc5206e3d
GHA CI: only install required Qt components
...
So it won't waste time download/install unused Qt components.
2022-10-03 13:04:24 +08:00
xavier2k6
d96ed5f4a4
GHA CI: Bump Windows/macOS Qt6
version to 6.4.0
...
Suppressed gnu-zero-variadic-macro-arguments warning on macOS (Qt6 only).
PR #17801 .
2022-10-03 11:56:08 +08:00
Chocobo1
3061f6cf5b
GHA CI: treat compile warnings as errors
...
PR #17651 .
2022-09-02 13:09:43 +08:00
Chocobo1
ff7fe7c107
GHA CI: bump "Install Qt" action version
2022-08-18 12:26:26 +08:00
Chocobo1
c924fe7950
GHA CI: update boost to 1.80
2022-08-11 15:20:25 +08:00
summer
0e3ce019e4
Update libtorrent to 2.0.7 & 1.2.17 in GHA CI
...
PR #17385 .
2022-07-19 11:13:47 +08:00
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 .
2022-07-10 13:20:27 +08:00
sledgehammer999
63cdfa2d85
Update CIs to correctly regenerate translations files
2022-05-29 02:49:57 +03:00
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 .
2022-04-19 10:32:56 +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
xavier2k6
074cbdad28
GHA CI: Update upload-artifact
action to v3
2022-03-04 23:13:36 +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
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
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