Commit graph

208 commits

Author SHA1 Message Date
nerix
accf91a48f
Build Windows Installer in CI (#4408)
* feat: build installer in CI

Co-authored-by: 8thony <114905842+8thony@users.noreply.github.com>

* fix: use inno-setup from PATH

* fix: only match `v*` tags

* fix: don't add to release

* fix: only run on master

---------

Co-authored-by: 8thony <114905842+8thony@users.noreply.github.com>
2023-08-05 12:27:09 +00:00
dependabot[bot]
557e8d0640
Bump ZedThree/clang-tidy-review from 0.13.1 to 0.13.2 (#4744)
Bumps [ZedThree/clang-tidy-review](https://github.com/zedthree/clang-tidy-review) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/zedthree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zedthree/clang-tidy-review/compare/v0.13.1...v0.13.2)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 08:39:04 +00:00
nerix
33fa3e0a97
Use New 7TV Cosmetics System (#4512)
* feat(seventv): use new cosmetics system

* chore: add changelog entry

* fix: old `clang-format`

* fix: small suggestions pt1

* refactor: add 7tv api wrapper

* fix: small clang-tidy things

* fix: remove unused constants

* fix: old clangtidy

* refactor: rename

* fix: increase interval to 60s

* fix: newline

* fix: Twitch

* docs: add comment

* fix: remove v2 badges endpoint

* fix: deadlock

This is actually really sad.

* fix: remove api entry

* fix: old clang-format

* Sort functions in SeventvBadges.hpp/cpp

* Remove unused vector include

* Add comments to SeventvBadges.hpp functions

* Rename `addBadge` to `registerBadge`

* fix: cleanup eventloop

* ci(test): add timeout

---------

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-07-29 09:49:44 +00:00
pajlada
8cfa5e866e
random ci test things (#4725)
* test

* Simplify qt install action usage

* Add merge_group to the actions
2023-07-29 11:02:43 +00:00
dependabot[bot]
4286ee4ca4
Bump actionsx/prettier from e90ec54 to 3d9f7c3 (#4736)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28 01:29:03 +00:00
nerix
7fd01ac575
Limit sccache caches and improve PCH (#4727)
This also enables PCH on all but one Windows builds
2023-07-19 20:29:17 +00:00
pajlada
2f2c187f18
Run tests on Qt 5.12.12 & Qt 6.2.4 in CI (#4703) 2023-06-24 23:48:29 +02:00
nerix
b9934a4532
Refactor tests and benchmarks (#4700) 2023-06-24 15:03:27 +02:00
nerix
a045d3ee81
Use sccache on Windows (#4678)
* build: support sccache and windows
2023-06-11 10:31:04 +00:00
nerix
2264c44f10
Include Tests and Benchmarks in clang-tidy CI (#4653)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-24 21:47:03 +00:00
dependabot[bot]
c1dda281df
Bump ZedThree/clang-tidy-review from 0.13.0 to 0.13.1 (#4651)
Bumps [ZedThree/clang-tidy-review](https://github.com/ZedThree/clang-tidy-review) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/ZedThree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ZedThree/clang-tidy-review/compare/v0.13.0...v0.13.1)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 10:43:31 +02:00
dependabot[bot]
ba6fae6db9
Bump jurplel/install-qt-action from 3.2.0 to 3.2.1 (#4635)
Bumps [jurplel/install-qt-action](https://github.com/jurplel/install-qt-action) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/jurplel/install-qt-action/releases)
- [Commits](https://github.com/jurplel/install-qt-action/compare/v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: jurplel/install-qt-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-21 23:47:53 +02:00
nerix
bd4f6f3a1f
Configure CMake for clang-tidy separately (#4648)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-21 19:42:40 +02:00
pajlada
1f0aa808a5
Remove push-aur job (#4610)
This never built the PR job, and doesn't handle pushing to AUR

The new plan is to have a separate AUR-specific repo that handles events
& rebuilding on dependency-change etc
2023-05-08 17:15:38 +00:00
pajlada
62fc5905e6
Further CI fixing, only do clang-tidy stuff in PRs (#4609) 2023-05-08 13:29:58 +00:00
pajlada
eed2cfff5b
Clean up CI jobs (#4606)
Remove PCH as an option - it's now always disabled for all jobs

Disable LTO in the Windows build

Merge the Ubuntu Qt 6.2.4 & Ubuntu plugin build

Only upload a single macOS job into the nightly release, and clearly mark it as a macOS 10.15 build.
2023-05-08 14:08:43 +02:00
dependabot[bot]
33f7d90ca3
Bump jurplel/install-qt-action from 3.1.0 to 3.2.0 (#4591)
Bumps [jurplel/install-qt-action](https://github.com/jurplel/install-qt-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/jurplel/install-qt-action/releases)
- [Commits](https://github.com/jurplel/install-qt-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: jurplel/install-qt-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-05-07 09:55:18 +00:00
pajlada
4c23f4bcea
Allow for local macOS signed builds (#4582)
Split up the CreateDMG.sh macos script to two scripts:
MacDeploy.sh - this calls macdeployqt on the built app
CreateDMG.sh - this calls dmgbuild on the built & deployed app

Add a `SKIP_VENV` environment variable to CreateDMG.sh, this can be used to use the system version of dmgbuild
Add the ability to codesign the created dmg and its contents using the `MACOS_CODESIGN_CERTIFICATE` environment variable
Moved the output name logic from CreateDMG to the `OUTPUT_DMG_PATH` environment variable

The nightly release create job also doesn't remove artifacts now, it only replaces artifacts that are conflicting.
The downside to this is that if we change the name of an artifact, we need to manually delete the old artifact.
The upside to this is that we can now upload artifacts that are not handled in the same CI job.
2023-04-29 16:07:20 +02:00
dependabot[bot]
6338d09104
Bump ZedThree/clang-tidy-review from 0.12.3 to 0.13.0 (#4564)
Bumps [ZedThree/clang-tidy-review](https://github.com/ZedThree/clang-tidy-review) from 0.12.3 to 0.13.0.
- [Release notes](https://github.com/ZedThree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ZedThree/clang-tidy-review/compare/v0.12.3...v0.13.0)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 11:01:28 +02:00
Daniel Sage
bd58a55348
fix: incorrect extension on macOS experimental builds (#4565) 2023-04-21 03:32:55 +00:00
dependabot[bot]
32499f0e0e
Bump ZedThree/clang-tidy-review from 0.12.2 to 0.12.3 (#4559)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 12:04:21 +02:00
nerix
cb0ab90f0c
Add qtimageformats Module in Qt6 CI Builds (#4556) 2023-04-17 15:06:15 +02:00
pajlada
ec4ec799e9
Mark builds as experimental - v4 (#4555) 2023-04-17 10:11:03 +00:00
pajlada
7285686a7f
Mark builds as experimental (#4554) 2023-04-17 09:05:39 +00:00
pajlada
421497c6cb
Mark builds as experimental (#4553) 2023-04-17 07:59:25 +00:00
pajlada
169f419d91
Mark experimental builds at the start of their filename (#4551) 2023-04-16 18:03:30 -04:00
nerix
20bdfaef39
Use macos rather than osx in filenames (#4550) 2023-04-16 19:05:51 +00:00
pajlada
8fd975270a
Update macOS build instructions & fix release artifacts (#4545) 2023-04-15 14:23:33 +02:00
nerix
bf6350ad79
Add macOS, Windows, & Ubuntu 22.04 Qt6 builds (#4522)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-04-15 13:25:51 +02:00
pajlada
073192b4e5
Remove the "Pull request checklist" from the template (#4521) 2023-04-08 12:38:21 +02:00
nerix
4e3433e966
Store Themes as JSON files (#4471)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-08 09:05:55 +00:00
nerix
5c08e996c6
Refactor Windows CI and Conan Usage (#4513) 2023-04-04 21:29:49 +02:00
Mm2PL
5ba809804e
Add basic lua scripting capabilities (#4341)
The scripting capabilities is locked behind a cmake flag, and is not enabled by default.

Co-authored-by: nerix <nerixdev@outlook.de>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-02 15:31:53 +02:00
nerix
281bddb4cf
Upgrade from Conan 1.x to 2.x (#4417)
Conan 1.x is no longer supported - upgrade if you used it for dependency management

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-04-02 10:48:22 +00:00
dependabot[bot]
7aaec5f5c6
Bump ZedThree/clang-tidy-review from 0.12.1 to 0.12.2 (#4484)
Bumps [ZedThree/clang-tidy-review](https://github.com/ZedThree/clang-tidy-review) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/ZedThree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ZedThree/clang-tidy-review/compare/v0.12.1...v0.12.2)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 08:08:49 +02:00
dependabot[bot]
1797b04329
Bump ZedThree/clang-tidy-review from 0.10.1 to 0.12.1 (#4482)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-03-27 12:42:16 +02:00
Mm2PL
f7ac526c35
CI: Make prettier print the diff on error (#4479)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-03-26 13:42:04 +02:00
nerix
19cc72f927
Respect PCH Setting in Windows CI (#4472) 2023-03-23 23:04:16 +01:00
pajlada
1dc2bcc445
Install conan v1.58.0 (#4427) 2023-03-04 12:35:48 +00:00
pajlada
7e005ba661
Fix AppImage not containing all SSL dependencies (#4400)
This means the AppImage is built on Ubuntu 20.04 using Qt 5.12
2023-02-21 09:47:18 +01:00
dependabot[bot]
621b5d9163
Bump jurplel/install-qt-action from 3.0.0 to 3.1.0 (#4395)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 12:21:57 +01:00
pajlada
c95a65c153
Fix Qt6 building (#4393) 2023-02-19 20:19:18 +01:00
pajlada
d3499e814e
Fix the brew cask action (#4394)
It previously tried to bump the version from 2.4.0 to v2.4.1
the action didn't strip the v, but it does now
2023-02-19 16:08:32 +00:00
Ilya Zlobintsev
da97079877
Add flatpakref file to artifacts (#4388)
The .flatpakref file format definition can be read about here https://man7.org/linux/man-pages/man5/flatpak-flatpakref.5.html
or just `man flatpak-flatpakref`
2023-02-17 20:01:47 +00:00
nerix
9bfd12ba3c
Fix builds from CI showing up as modified (#4384)
This change also adds a new environment variable used while building: `CHATTERINO_REQUIRE_CLEAN_GIT` which, if set, will error out during your build's GIT stage.
This is used in CI to ensure we don't accidentally introduce a change that would result in builds showing up as "modified" again.

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-02-16 13:56:20 +00:00
Wissididom
df9836f59e
Automatically update nightly-build tag every nightly release (#4374)
This is done by CI force pushing the `nightly-build` tag - the `nightly-build` tag should never be relied on other than for GitHub releases.
2023-02-13 19:11:48 +00:00
pajlada
56adaf81ac
Fix .deb & pdb release uploads (#4373) 2023-02-13 10:33:25 +00:00
pajlada
ef3a607af5
Upload both Ubuntu .deb packages & Windows .pdb symbols in releases (#4372) 2023-02-13 09:34:40 +00:00
nerix
e377c30192
Add Crashpad Support on Windows (#4351)
* feat: crashpad on windows

* feat: inline it

* feat: more crashpad

* chore: remove qBreakpad

* fix: add mention to crashpad

* refactor: version string

* feat: add crashpad module

* refactor: build crashpad from source

* fix: minor adjustments

* chore: add changelog entry

* fix: formatting and include

* fix: format

* build: use flags similar to release profile

* ci: build with crashpad on windows

* ci: recurse submodules

* ci: always include crashpad

* fix: try 7z

for some reason zstd just doesn't run

* fix: wrong path for symbols

* fix: copy

pls don't build

* ci: use new cache key

* fix: missing pragma

* ci: add workflow without crashpad

* docs: elevate changelog entry

* fix: add link to cmake issue

* fix: windows include issue

Someone (crashpad) includes Windows.h before winsock2.h

* fix: working directory

* fix: another working directory
2023-02-12 20:36:58 +01:00
Wissididom
8e24a29c85
Fix Ubuntu builds preventing create-release from building (#4368) 2023-02-12 00:20:54 +01:00