diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-02-09 19:25:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 19:25:36 +0300 |
commit | 8afeb2c602bc479ae2554178ea1ed176a18af8f5 (patch) | |
tree | 8d64d0efc6761d53bd7d94006e62f1c5e2b429e4 /.builds | |
parent | 59f16f6b1568d95e7b183c75742c537b3f09a47d (diff) | |
download | alacritty-8afeb2c602bc479ae2554178ea1ed176a18af8f5.tar.gz alacritty-8afeb2c602bc479ae2554178ea1ed176a18af8f5.zip |
Fix warnings when building only with Wayland feature
This commit also makes our CI fail hard when warning encountered when
building only for either Wayland or X11.
Diffstat (limited to '.builds')
-rw-r--r-- | .builds/freebsd.yml | 4 | ||||
-rw-r--r-- | .builds/linux.yml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 0f170802..144872f1 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -33,7 +33,7 @@ tasks: cargo clippy --all-targets - feature-wayland: | cd alacritty/alacritty - cargo test --no-default-features --features=wayland + RUSTFLAGS="-D warnings" cargo test --no-default-features --features=wayland - feature-x11: | cd alacritty/alacritty - cargo test --no-default-features --features=x11 + RUSTFLAGS="-D warnings" cargo test --no-default-features --features=x11 diff --git a/.builds/linux.yml b/.builds/linux.yml index 8098051c..6a59e25c 100644 --- a/.builds/linux.yml +++ b/.builds/linux.yml @@ -36,7 +36,7 @@ tasks: cargo clippy --all-targets - feature-wayland: | cd alacritty/alacritty - cargo test --no-default-features --features=wayland + RUSTFLAGS="-D warnings" cargo test --no-default-features --features=wayland - feature-x11: | cd alacritty/alacritty - cargo test --no-default-features --features=x11 + RUSTFLAGS="-D warnings" cargo test --no-default-features --features=x11 |