Commit Graph

43 Commits (master)

Author SHA1 Message Date
Anthony Bilinski 3c467de9f2
chore(deps): Update c-toxcore to v0.2.18
Replace msgpack-c with toxcore submodule of cmp.
2022-05-01 06:32:21 -07:00
Anthony Bilinski e076d4b7a7
chore(deps): Add support for msgpack dependency 2022-02-19 06:32:46 -08:00
Anthony Bilinski 2c6a01c8ec
chore(flatpak): Fix JSON syntax, single quote to double quote 2022-01-03 15:47:40 -08:00
Anthony Bilinski 9ea6d7e8fc
fix(flatpak): Build flatpak qTox and dependencies in Release mode 2022-01-01 10:56:44 -08:00
Mick Sayson 8abe8320d2 chore(CI): Use docker for CI scripts
Motiviation:
* Reproducing issues in CI is currently difficult
* Predicting issues in CI is currently difficult if you are not on
  ubuntu 18.04
* Reproducing issues submitted from other distros is currently done by
  creating a VM of that distro and building qtox for it locally
* Documentation for how to build on different distros is out of date
* Issues on non-ubuntu distributions are not caught by CI
* Cross compiling for windows locally is not trivial
* Iterating when working with custom build scripts is slow, scripts
  don't necessarily support re-running without re-starting the docker
  container and re-building qtox again
* Updating dependencies is a pain

Changes:
* docker-compose file has been added to the root of our repo.
  After `docker compose run --rm ubuntu` (or other supported distros),
  you are ready to compile and run qtox
* Dependencies are owned by dependency install scripts in buildscripts/.
  This allows us to use the same exact dependencies in our
  OSX/windows/linux scripts
* New docker images have been added for a variety of distributions.
  These are now run in CI in a variety of configurations
  * Docker images are cached in CI so rebuild time for the majority of
    jobs is quite quick
* Build scripts have been trimmed to leverage state of docker
  containers.
  * Windows build script no longer installs anything, dependencies are
    now managed by the windows_builder docker images
  * Build scripts should now be easily re-runnable. Usage is now `docker
    compose run --rm <image>` and then run the scripts
* All artifacts are now uploaded to github after build, this means we
  can take an appimage/flatpak/exe/dmg for any given PR and try it out
  without having to build it ourselves

Notes:
* Docker image size is quite important. We have a maximum of 5GB cache
  space on github actions. The majority of the linux distro docker
  images cache at ~300-400MB, which gives us room to test ~6 distros
  after accounting for the sizes of flatpak/windows docker images
* Docker layer ordering is relatively intentional. Approximate order
  should be that large dependencies that change infrequently should be
  farther up. This lowers the amount of rebuilding we have to do when
  dependencies are updated
* download_xxx.sh scripts are the cleanest way I could find to implement
  a shared dependency map between osx scripts and docker containers.
  Although it would be nice to have a single dependency mapping file,
  splitting it into individual scripts allows us to only rebuild some
  docker layers when dependencies are updated.
* Github actions are split between docker image building and docker
  image use. This allows us to re-use the same docker images for
  multiple jobs, but only build it once
  * Unfortunately I could not find a way to de-duplicate the stitching
    between jobs, so we have a lot of copy pasta in that area
2021-12-19 14:56:05 -08:00
Anthony Bilinski 9624fc33b0
chore(deps): update c-toxcore to v0.2.13 2021-12-08 01:02:55 -08:00
Mick Sayson 761c2fb292 fix(toxext): Update toxext to fix memory corruption issues
* tox_extension_messages updated as well for compatibility
2021-10-25 23:20:51 -07:00
Mick Sayson 670457a77b
fix(extensions): Add toxext to CI scripts 2021-01-30 18:15:36 -08:00
Anthony Bilinski 98dea9aeac
Merge branch 'v1.17-dev' 2020-11-26 02:41:08 -08:00
Anthony Bilinski 127b91a217
chore(release): Merge flathub flatpak manifest with local
Remove snorenotify dep because it was accidentally included.

This should have been done prior to v1.17.3 release, updated in #6264.
2020-11-26 02:39:57 -08:00
Douglas Rhine 44b6c73e89
chore(flatpak): update deps and bump runtime to 5.15
(cherry picked from commit 78d132b423)
2020-11-22 20:01:40 -08:00
Anthony Bilinski c5959f40a3
chore(deps): update c-toxcore to v0.2.12
(cherry picked from commit 728621f627)
2020-11-22 19:57:54 -08:00
Douglas Rhine 78d132b423
chore(flatpak): update deps and bump runtime to 5.15 2020-09-04 13:14:25 +01:00
Anthony Bilinski 728621f627
chore(deps): update c-toxcore to v0.2.12 2020-05-01 15:37:47 -07:00
Anthony Bilinski c748b5a8d0
Merge branch 'v1.17-dev' 2020-04-24 18:35:00 -07:00
Douglas Rhine 5f70d5d3d3
chore(flatpak): update runtime to 5.14 2020-04-22 17:17:11 +02:00
Douglas Rhine 442850ac59
chore(flatpak): update runtime to 5.14 2020-04-20 15:08:50 +01:00
Anthony Bilinski 9888bc2d80
fix(build): disable Werror by default, keep enabled on CI
To allow for easier building with different compilers on user systems. Keep
strict checks on CI to make sure new warnings aren't ignored.
2020-04-12 16:30:17 -07:00
sudden6 a4ac178bbd
chore(deps): update c-toxcore to v0.2.11 2020-03-29 02:09:20 -07:00
sudden6 7c59ffb24b
chore(deps): update c-toxcore to v0.2.11 2020-03-23 21:09:23 +01:00
sudden6 71b5c50ac6
chore(flatpak): reduce difference to Flathub build
(cherry picked from commit 58ee2feea8)
2020-03-19 13:20:16 -07:00
sudden6 55b1f6af25
fix(flatpak): workaround unstable flathub downloads
works around https://github.com/flathub/flathub/issues/845

(cherry picked from commit 69677831ab)
2020-03-19 13:19:54 -07:00
sudden6 58ee2feea8
chore(flatpak): reduce difference to Flathub build 2020-03-16 23:57:59 +01:00
sudden6 69677831ab
fix(flatpak): workaround unstable flathub downloads
works around https://github.com/flathub/flathub/issues/845
2020-03-16 00:28:04 +01:00
Anthony Bilinski 196a20f124
chore(docs): build toxcore with bootstrap daemon disabled
toxcore requires libconfig to build the bootstrap daemon. our current
dependencies don't list libconfig, and we have no use for the bootstrap daemon,
so don't build it for qTox.
2019-10-17 02:10:25 -07:00
sudden6 79c88f2154
Merge pull request #5722
jenli669 (2):
      docs(copyright): update and add copyright info
      docs(copyright): Added copyright to apparmor .qtox files
2019-06-28 09:00:13 +02:00
jenli669 04a9bc46f4
docs(copyright): update and add copyright info
zealously updates and adds qTox copyright information.

Fixes #5713
2019-06-28 01:18:26 +02:00
Anthony Bilinski 86f0c3a54c
chore(build): update toxcore to v0.2.10 2019-06-27 01:10:03 -07:00
sudden6 7189b46d3d
chore(deploy): add snorenotify to Flatpak manifest 2019-03-24 11:58:09 +01:00
sudden6 089d6a8e7a
chore(flatpak): add dependency for flatpak icon verifier 2019-02-09 21:09:21 +01:00
sudden6 489027ea1e
fix(flatpak): use SVG for icon
Flatpak doesn't allow compressed SVGs as icons because this is against
the specification.
2019-02-09 12:02:56 +01:00
sudden6 4e997b71de
chore(deploy): add sha256sum for linux deployments 2019-01-25 22:53:45 +01:00
Anthony Bilinski 23da95a983
chore(build): update toxcore to v0.2.9 2019-01-13 13:09:24 -08:00
Anthony Bilinski a14595b4f1
chore(release): update toxcore version to v0.2.7 2018-09-17 10:40:07 -07:00
Anthony Bilinski ba983ae175
Merge v1.16.3 to master 2018-07-21 15:21:50 -07:00
Anthony Bilinski e5234cefc1
chore(flatpak): update flatpak KDE SDK to 5.11
Fix https://github.com/flathub/io.github.qtox.qTox/issues/3
2018-07-20 11:52:46 -07:00
sudden6 0984829276
chore(deploy): add architecture to Flatpak and AppImage builds 2018-07-18 20:09:34 +02:00
sudden6 b7e6d4fadf
chore: fix small issues in deployment scripts and add debug mode 2018-07-18 15:20:31 +02:00
sudden6 b0ae312402
chore: fix small issues in deployment scripts and add debug mode 2018-07-17 21:55:06 -07:00
sudden6 90171366bd
chore(deploy): keep our own copy of the flatpak manifest in this repo
This allows us to easily add dependencies or change the build for new
features, but has the downside that we have to sync to the flathub.org
repo on a release
2018-07-17 20:00:17 -07:00
sudden6 aabdb50086
chore(deploy): keep our own copy of the flatpak manifest in this repo
This allows us to easily add dependencies or change the build for new
features, but has the downside that we have to sync to the flathub.org
repo on a release
2018-07-13 09:37:49 +02:00
sudden6 59b5578c7b
feat(deploy): upload Flatpak bundle to Github releases 2018-07-04 01:00:04 +02:00
sudden6 6aa1d657c7
chore(CI): add build for flatpak image 2018-06-25 21:18:42 +02:00