Skip to content

Commit 2ddb9b9

Browse files
committed
Trying stuff.
1 parent 424902a commit 2ddb9b9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,23 @@ jobs:
2121
os: ubuntu-latest
2222
headless: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
2323
dependencies: sudo apt-get install libxtst-dev libevdev-dev libudev-dev --assume-yes
24+
build: cargo build --verbose
2425
test: cargo test --verbose --features=serialize,x11
2526
- variant: ubuntu-wayland-latest
2627
os: ubuntu-latest
2728
headless: weston --no-config --socket=wl-test-env --backend=headless &
2829
dependencies: sudo apt-get install libudev-dev libinput-dev weston --assume-yes
30+
31+
build: cargo build --verbose --no-default-features --features wayland
2932
test: WAYLAND_DISPLAY=wl-test-env cargo test --verbose --no-default-features --features=serialize,wayland
3033
- variant: macos-latest
3134
os: macos-latest
35+
build: cargo build --verbose
3236
# TODO: We can't test this on github, we can't set accessibility yet.
3337
test: cargo test --verbose --all-features -- --skip test_listen_and_simulate --skip test_grab
3438
- variant: windows-latest
3539
os: windows-latest
40+
build: cargo build --verbose
3641
test: cargo test --verbose --all-features
3742

3843
steps:
@@ -48,7 +53,7 @@ jobs:
4853
rustup component add rustfmt
4954
cargo fmt -- --check
5055
- name: Build
51-
run: cargo build --verbose
56+
run: ${{ matrix.build }}
5257
- name: Run tests
5358
run: ${{matrix.test}}
5459
- name: Linter

0 commit comments

Comments
 (0)