Commit graph

130 commits

Author SHA1 Message Date
nerix
b80d41c327
Use CMakeDeps and CMakeToolchain as Generators on Conan (#4335)
* deps(conan): use `CMakeDeps` as generator

* chore: add changelog entry

* deps(conan): add `CMakeToolchain` generator

* fix: use generated toolchain file

* docs: mention toolchain as well

* fix: spelling

* fix: formatting

* revert: use nmake

* docs: fix documentation
2023-01-29 13:10:39 +00:00
pajlada
adf58d2770
Clean up clang-tidy action checks (#4331)
* clang-tidy action: Exclude lib & tests dir for clang-tidy CI checks

The lib dir is obvious, but the tests dir is disabled because gtest has
a million different thing that clang-tidy doesn't like, while they're in
reality perfectly reasonable

* clang-tidy-action: Disable the LGTM comment
2023-01-26 19:47:32 +01:00
nerix
904749cf62
feat: Add Live Emote Updates for BTTV (#4147)
This feature is enabled by default and can be disabled in settings with the "Enable BTTV live emotes updates" setting.

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-01-21 14:06:55 +00:00
Felanbird
e15a5727ad
Update actionsx/prettier from v2 to e90ec54 (#4318)
This finishes the migrations of all workflows that used node12
2023-01-20 22:28:48 +01:00
nerix
2233b46512
Format YAML and JSON Files With Prettier (#4304)
* ci: format yaml and json files with prettier

* chore: add changelog entry

* fix: format everything

* ci: run pretter on all files

* ci: rename prettier step
2023-01-15 17:27:41 +01:00
pajlada
83dfb08aed
Enable LTO support for Chatterino builds (#4258)
This is disabled by default, and can be enabled by passing `-DCHATTERINO_LTO=On` to your cmake invocation.
2022-12-24 18:42:59 +01:00
pajlada
2de1437bdf
Retry tests 3 times to lessen chance of complete job failure due to flaky tests (#4241) 2022-12-18 13:53:17 +01:00
dependabot[bot]
f062c793e4
Bump ncipollo/release-action from 1.11.2 to 1.12.0 (#4229)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-17 12:26:47 +01:00
nerix
34824957cf
fix: don't run push-aur.yml on pull requests (#4226) 2022-12-08 14:30:08 +00:00
Wissididom
e68a3fcd30
Change ubuntu-latest to ubuntu-20.04 in CI builds (#4219) 2022-12-07 12:53:50 +01:00
pajlada
2e1667c348
Fix Ubuntu CI builds (#4212) 2022-12-02 19:30:28 +00:00
pajlada
1dd0693318
Fix Homebrew cask update workflow (#4203) 2022-11-29 11:12:44 +01:00
pajlada
032f290767
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories

In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:

    In ChatterSet.hpp, I changed lrucache to a <>include
    In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
    In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
    In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
    clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
dependabot[bot]
9fbdb936ab
Bump ncipollo/release-action from 1.11.1 to 1.11.2 (#4150)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 10:16:46 +01:00
nerix
39f7d8ac4c
feat: Live Emote Updates for 7TV (#4090)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-11-13 12:07:41 +01:00
Wissididom
3c10fc12e6
Release with actual commit message (#4130) 2022-11-09 14:47:42 +00:00
pajlada
42bca5f8c7
Switch to ncipollo/release-action for generating our Nightly releases (#4125) 2022-11-08 22:07:44 +00:00
pajlada
7714237531
Update pajlada/create-release action to v2.0.4 (#4123) 2022-11-08 16:41:24 +00:00
pajlada
fcf3f2d88b
Update jurplel/install-qt-action GitHub Action from v2 to v3 (#4106) 2022-11-03 20:03:16 +01:00
nerix
ff684fc7ed
feat: Basic PubSub Manager for Live Emote Updates (#4087)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-10-29 14:01:01 +02:00
dependabot[bot]
dd39bd66a0
Bump ZedThree/clang-tidy-review from 0.10.0 to 0.10.1 (#4083)
Bumps [ZedThree/clang-tidy-review](https://github.com/ZedThree/clang-tidy-review) from 0.10.0 to 0.10.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.10.0...v0.10.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-29 11:47:27 +02:00
dependabot[bot]
62b689e746
Bump ilammy/msvc-dev-cmd from 1.11.0 to 1.12.0 (#4063)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-10-16 15:55:14 +00:00
pajlada
f6f0bc8ab5
Swap back to main branch of ZedThree's clang-tidy-review (#4059) 2022-10-15 13:54:25 +02:00
Felanbird
7337e93a27
Remove comment suggesting Build Qt is a Linux only build step (#3955)
* Remove comment suggesting `Build Qt` is a Linux only build step

* I forgot to no ci

[no ci]

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-09-08 21:19:13 +02:00
dependabot[bot]
8f551519b1
Bump ilammy/msvc-dev-cmd from 1.10.0 to 1.11.0 (#3939)
Bumps [ilammy/msvc-dev-cmd](https://github.com/ilammy/msvc-dev-cmd) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/ilammy/msvc-dev-cmd/releases)
- [Commits](https://github.com/ilammy/msvc-dev-cmd/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: ilammy/msvc-dev-cmd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 13:56:41 +02:00
pajlada
2fd962261b
Switch to dev branch of clang-tidy-review (#3937)
This supports the split workflow logic which makes it work on fork PRs
2022-08-28 13:32:07 +02:00
dependabot[bot]
c204332685
Bump ZedThree/clang-tidy-review from 0.8.4 to 0.9.0 (#3900)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 21:02:44 +00:00
23rd
34ee27805c
Added minimal supported macOS version to CI builds. (#3923) 2022-08-15 22:41:40 +02:00
pajlada
109fb5c016
Only run clang-tidy CI Action on PRs (#3892) 2022-07-31 15:32:43 +00:00
pajlada
81773c7d30
Add .clang-tidy file and CI (#3890)
The CI comments are optional
2022-07-31 14:16:22 +00:00
Mm2PL
044dd8a616
Remove official support for QMake (#3839)
* delet chatterino.pro

* Update documentation

* Update Github Actions config

* Update Cirrus CI config

* Attempt to fix Cirrus CI

* Add changelog entry

* Delete tools/update_filelist.py

It was a QMake-only script? Maybe will need revert + change to CMake or something?

* fix?

* Fuck this linter

* Attempt to clean up build.yml a little

* Add cmaake to install list, remove step for qmake PATH

* Change list entries to always use 1.

Sneaky unrelated change

* These are no longer tests!

* FUCK YOU PRETTIER

* Make BUILDING_ON_LINUX.md simpler

* Get rid of Jenkins

* Get rid of travis

* Remove dupes

* Remove appveyor

* Remove qmake from conanfile

* Try removing explicit qmake path

* Nothing uses the qt style plugins installer anymore

* Update manual linux building instructions

* Update freebsd compilation instructions with a copy paste from the linux instructions

* Remove unused docker files

* Remove linux breakpad build script as it's unused

* Update changelog entry phrasing

* Lint build markdown files

* Change top changelog entry to not be confused as a link

* Skip QtCreator conan setup if conan is disabled

This reduces the amount of warnings & errors Windows users get with
QtCreator

* lint building on linux file

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-07-23 14:04:29 +02:00
Kasia
28744810c4
Bump Qt 5.12.10 to 5.12.12 (#3809)
Normalize cache method between build and test workflow
Normalize Qt install method between build and test workflow
Add explicit Qt version in test workflow
Allow builds to be triggered through workflow dispatch https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
2022-06-14 14:48:21 +02:00
pajlada
b198438f25
Run httpbin docker image locally in CI (#3778) 2022-05-30 01:43:13 +02:00
pajlada
ec4b1627d7
Build GoogleTest & GoogleMock as submodules (#3760) 2022-05-22 15:43:41 +02:00
James Upjohn
523e0c5ef4
ci: cancel previous runs on PR update (#3748)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-05-21 11:33:21 +02:00
nerix
f97780d84e
Improve Twitch PubSub connection reliability (#3643)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 15:22:39 +00:00
James Upjohn
c6db023ee3
fix(ci): dankness removed from homebrew CI (#3666)
fdm
2022-04-09 13:27:51 +02:00
dependabot[bot]
2ffdd71ac8
Bump actions/cache from 2.1.7 to 3 (#3620)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 12:50:52 +01:00
James Upjohn
0a12914e0d
chore: use system logical core count for Ubuntu/macOS builds (#3602)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-03-12 11:25:35 +00:00
dependabot[bot]
e29740bd59
Bump actions/download-artifact from 2.1.0 to 3 (#3582)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 14:18:06 +00:00
dependabot[bot]
3c683f40f7
Bump actions/checkout from 2.4.0 to 3 (#3581)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 13:49:51 +00:00
Edgar
0e5f479365
👷 Fixed qt caching attempt 2 (#3587) 2022-03-04 13:07:28 +00:00
Edgar
8fd3e29c23
👷 Fixed qt caching (#3586) 2022-03-04 11:51:17 +01:00
Edgar
87618d60a9
👷 Fix CI build with VS 2022 (#3580) 2022-03-04 11:26:45 +01:00
dependabot[bot]
75b97ccd34
Bump actions/upload-artifact from 2.3.1 to 3 (#3585)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 11:06:15 +01:00
Felanbird
218b6c5e57
Downgrade back to windows-2019 (#3576) 2022-02-26 12:25:35 +01:00
James Upjohn
52da0fd4b9
fix: remove deprecated windows-2016/vs-2017 action runner from build matrix (#3484)
* fix(action): bump Windows 2016 runner to 2019

* fix(action): remove explicit win 2016/2019 runner config

Co-authored-by: Paweł <zneix@zneix.eu>
2022-01-15 14:33:23 +01:00
Paweł
14d11b6ebe
Remove actions/checkout from changelog check action (#3438)
Since changelog enforcer v3, according to their [changelog](dangoslen/changelog-enforcer@master/CHANGELOG.md#v300) `actions/checkout` is no longer required.
2021-12-28 23:24:29 +00:00
dependabot[bot]
4d9719ca90
Bump dangoslen/changelog-enforcer from 2.3.1 to 3 (#3436)
Bumps [dangoslen/changelog-enforcer](https://github.com/dangoslen/changelog-enforcer) from 2.3.1 to 3.
- [Release notes](https://github.com/dangoslen/changelog-enforcer/releases)
- [Changelog](https://github.com/dangoslen/changelog-enforcer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dangoslen/changelog-enforcer/compare/v2.3.1...v3)

---
updated-dependencies:
- dependency-name: dangoslen/changelog-enforcer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 22:28:50 +00:00
dependabot[bot]
60ff82f2de
Bump actions/upload-artifact from 2.3.0 to 2.3.1 (#3405)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2021-12-19 14:39:01 +01:00