aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
AgeCommit message (Collapse)Author
2024-07-02Use latest macOS image on CI (#8072)Kirill Chibisov
Old macOS images are deprecated resulting in often failures, thus use latest macOS images available. Also given that macOS is arm64 by default check x86_64 as extra job and not arm64.
2024-02-14Use dynamic MSRV for oldstable CIChristian Duerr
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-01-06Fix serde tests without default featuresChristian Duerr
Authored-by: James McCoy <jamessan@jamessan.com>
2023-10-08Update dependenciesChristian Duerr
This patch applies all breaking and non-breaking dependency updates and bumps MSRV to 1.70.0.
2023-05-17Update patch dependenciesKirill Chibisov
2023-05-10Bump `actions/checkout` to v3K.B.Dharun Krishna
Fix Node 12 deprecation warnings in action runs.
2022-11-03Update glutin to 0.30.0Kirill Chibisov
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-06-16Bump copypasta to 0.8.0Christian Duerr
This also applies all non-breaking semver updates.
2022-01-13Fix macOS release CIChristian Duerr
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.
2021-12-26Migrate to 2021 editionChristian Duerr
2021-12-03Bump glutin to 0.28.0Kirill Chibisov
Fixes #5603. Fixes #5422. Fixes #5350. Fixes #4105. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2021-08-17Add macOS ARM builds to CIChristian Duerr
2021-07-14Update dependenciesChristian Duerr
2021-02-27Run clippy on MSRVChristian Duerr
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.
2020-11-17Reduce number of GitHub Actions CI buildsChristian Duerr
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-10Fix github actions clippy jobChristian Duerr
2020-11-06Migrate from Travis CI to GitHub ActionsChristian Duerr
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.