mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
43d1afbeeb
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.
37 lines
887 B
YAML
37 lines
887 B
YAML
image: freebsd/latest
|
|
|
|
packages:
|
|
- devel/cmake
|
|
- devel/pkgconf
|
|
- lang/python3
|
|
- print/freetype2
|
|
- x11-fonts/fontconfig
|
|
- x11-fonts/dejavu
|
|
- x11/libxcb
|
|
|
|
sources:
|
|
- https://github.com/alacritty/alacritty
|
|
|
|
environment:
|
|
PATH: /home/build/.cargo/bin:/bin:/usr/bin:/usr/local/bin
|
|
|
|
tasks:
|
|
- rustup: |
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal
|
|
- test: |
|
|
cd alacritty
|
|
cargo test
|
|
- clippy: |
|
|
cd alacritty
|
|
rustup component add clippy
|
|
cargo clippy --all-targets
|
|
- oldstable: |
|
|
cd alacritty
|
|
rustup toolchain install --profile minimal 1.43.1
|
|
cargo +1.43.1 test
|
|
- feature-wayland: |
|
|
cd alacritty/alacritty
|
|
cargo test --no-default-features --features=wayland
|
|
- feature-x11: |
|
|
cd alacritty/alacritty
|
|
cargo test --no-default-features --features=x11
|