Commit Graph

28 Commits

Author SHA1 Message Date
Christian Duerr cef95324c9
Fix msi installer build
This works around an issue where wix was pulling pre-release extensions
and thus breaking compatibility with our used wix version.
2024-03-24 04:00:41 +00:00
Christian Duerr 1645a70168 Use dynamic MSRV for oldstable CI
Instead of manually specifying the oldstable version in all our CI
scripts, it is now pulled from the `Cargo.toml` which simplifies the
update process.

The contributing guide has also been updated to not include the explicit
version and its wording has been loosened a bit to correctly represent
current maintenance practices.
2024-02-14 01:20:49 +04:00
Christian Duerr b54d763154
Fix serde tests without default features
Authored-by: James McCoy <jamessan@jamessan.com>
2024-01-06 06:05:55 +00:00
Kirill Chibisov 4b6ff13113
Add man 5 pages to upload_asset.sh
They are compiled, but not being uploaded.
2023-10-30 01:54:42 +04:00
Christian Duerr 59c63d3738
Update dependencies
This patch applies all breaking and non-breaking dependency updates
and bumps MSRV to 1.70.0.
2023-10-08 07:29:57 +04:00
Kirill Chibisov 43b7c1774c
Update wix on the release CI
Fixes #6939.
2023-06-26 01:01:50 +04:00
Christian Duerr bd4906722a
Switch to TOML configuration format
This switches Alacritty's default configuration format from yaml to
toml. While yaml is still supported, it is done by converting it to toml
and should be removed entirely in the future.

All existing features were persisted based on my testing. Behavior
should not change much, though `--option` might have slightly different
behavior since the entire line is not interpreted as one line of toml.

A new `alacritty migrate` subcommand has been added which allows
automatic migration from yaml to toml. This also could be used as a
facility to automatically fix configuration file changes in the future.

Closes #6592.
2023-06-12 00:23:41 +00:00
maierd d94cb6be99
Fix Makefile manpage generation
Signed-off-by: Dennis Maier <d.maier94@web.de>
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-05-29 09:22:15 +00:00
Christian Duerr e3746e49a1
Move manpages to scdoc
This rewrites the existing manpages to use the `scdoc` format, making it
simpler to read and edit the manpages without intricate roff knowledge.

Some minor changes to the manpages were made in the process, mostly
focusing on correcting some of the wording. The list of maintainers has
also changed to ensure people not involved in the project anymore aren't
unnecessarily contacted for support.
2023-05-28 10:13:09 +00:00
Kirill Chibisov 6e7f466c68 Update patch dependencies 2023-05-17 08:36:41 +03:00
Kirill Chibisov a6488a3e5e
Fix upload from CI on windows 2023-05-16 08:35:02 +03:00
K.B.Dharun Krishna 828fdab747
Bump `actions/checkout` to v3
Fix Node 12 deprecation warnings in action runs.
2023-05-10 16:36:40 +03:00
Kirill Chibisov 0e418bc2f7
Update glutin to 0.30.0
The glutin 0.30.0 update decouples glutin from winit which
provides us with basis for a multithreaded renderer. This
also improves robustness of our configuration picking,
context creation, and surface handling.

As an example we're now able to start on systems without a vsync,
we don't try to build lots of contexts to check if some config works,
and so on.

That also brings us possibility to handle context losses, but that's
a future work.

Fixes #1268.
2022-11-03 19:37:54 +03:00
Christian Duerr 8f88b4d4be
Include extra directory in crate
Instead of having the extra symlink in the root, this puts the symlink
in the alacritty crate. Since we build the package on Linux this is not
a problem and even allows us to get rid of the `alacritty.png` symlink.

To avoid having complicated symlinks with regards to the windows build
assets directory, it has just been removed from the `extra` directory
completely. Since we only need it for building, it doesn't matter where
it's located and users will never have to interact with it manually
anyway.

Closes #6242.
2022-08-24 09:19:30 +00:00
Christian Duerr 4c171e7678
Bump copypasta to 0.8.0
This also applies all non-breaking semver updates.
2022-06-16 18:36:27 +03:00
Christian Duerr 7398e9f8d1
Fix macOS release CI
Since the CI machine is amd64, it is not possible to just execute the
aarch64 binary to test the application. So instead of running `cargo
test`, we just use `cargo build` instead.

Building on the non-release CI instead of just checking also allows us
to make sure linking works properly before a release fails due to it.
2022-01-13 02:23:37 +00:00
Christian Duerr f0934d8440
Migrate to 2021 edition 2021-12-26 16:47:57 +00:00
Kirill Chibisov 4c6a763850
Bump glutin to 0.28.0
Fixes #5603.
Fixes #5422.
Fixes #5350.
Fixes #4105.

Co-authored-by: Christian Duerr <contact@christianduerr.com>
2021-12-03 03:50:14 +00:00
Christian Duerr b885ec9cd3
Add alacritty-msg manpage to documentation
The original multiwindow PR added a new manpage, however this was not
properly documented or included in our CI. This patch resolves these
issues.
2021-11-08 23:22:09 +00:00
Christian Duerr abed2e9748
Add macOS ARM builds to CI 2021-08-17 18:04:46 +00:00
Christian Duerr 150b0bcb73
Fix Linux release CI build 2021-07-18 17:40:44 +00:00
Christian Duerr e0f0cdfb8a
Update dependencies 2021-07-14 02:18:40 +00:00
Christian Duerr edfcb81339
Run clippy on MSRV
Since not all suggested clippy lints by stable clippy are supported on
the MSRV of Alacritty, this commit moves the clippy checks to the MSRV.

Unfortunately this will mean that our lints might be significantly
behind, however it ensures our CI never blocks any code that should be
valid.

Developers themselves of course can still run the latest clippy to
follow the up to date recommendations.
2021-02-27 15:06:22 +00:00
Christian Duerr 26479bb9f5
Fix CI upload assets tag matching
The previous version would search for the last tag by matching the
beginning of the tag name. By explicitly searching for the trailing `"`
with grep, an exact tag match is now enforced.

Since releases like v1.2.3 always match the beginning of their RCs
(v1.2.3-rc4), this makes sure that the assets aren't pushed to the
previous release.
2020-11-25 01:31:21 +00:00
Christian Duerr 8b10e5e778
Reduce number of GitHub Actions CI builds
By reducing the number of CI jobs for GitHub actions, it should be
possible to get a faster overview over the status of all CI jobs. While
this does increase the total build time of GitHub Actions by reducing
parallelization, it should still finish within the SourceHut CI times.
2020-11-17 13:21:51 +00:00
Christian Duerr c63bdf5cb9
Fix github releases tag pattern 2020-11-14 03:51:40 +00:00
Christian Duerr dae014511d
Fix github actions clippy job 2020-11-10 04:36:19 +03:00
Christian Duerr 43d1afbeeb
Migrate from Travis CI to GitHub Actions
This removes all CI builds from travis-ci, due to their recent changes
in policy and harsh limitations on builds. With build times over 2
hours, it was a significant hindrance to development.

Instead of Travis CI, the CI is now split on Sourcehut and GitHub. Since
Sourcehut only supports Linux/BSD, all builds on those operating systems
are executed there. The GitHub Actions CI is used to build for
Windows/macOS, which are not available on Sourcehut.

Since asset deployment for releases requires builds on all platforms,
this is also done on GitHub actions. Though the new `upload_asset.sh`
script makes sure that migration in the future is fairly simple and we
do not tie ourselves to the overly complicated GitHub Actions ecosystem.
2020-11-06 23:52:56 +00:00