1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/.builds/freebsd.yml
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

39 lines
976 B
YAML

image: freebsd/latest
packages:
- devel/cmake
- devel/pkgconf
- lang/python3
- print/freetype2
- x11-fonts/fontconfig
- x11-fonts/dejavu
- x11/libxcb
- x11/libxkbcommon
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
- oldstable: |
cd alacritty
rustup toolchain install --profile minimal 1.60.0
rustup default 1.60.0
cargo test
- clippy: |
cd alacritty
rustup component add clippy
cargo clippy --all-targets
- feature-wayland: |
cd alacritty/alacritty
RUSTFLAGS="-D warnings" cargo test --no-default-features --features=wayland
- feature-x11: |
cd alacritty/alacritty
RUSTFLAGS="-D warnings" cargo test --no-default-features --features=x11