1 parent e28a235 commit 8209101Copy full SHA for 8209101
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - name: Install system dependencies
19
+ run: |
20
+ sudo apt-get update
21
+ sudo apt-get install -y \
22
+ libxkbcommon-dev \
23
+ libwayland-dev \
24
+ libxkbcommon-x11-dev \
25
+ libx11-dev \
26
+ libxcursor-dev \
27
+ libxi-dev \
28
+ libxrandr-dev
29
30
+ - uses: dtolnay/rust-toolchain@stable
31
32
+ - uses: Swatinem/rust-cache@v2
33
34
+ - name: Run tests
35
+ run: cargo test --all-features
0 commit comments