File tree Expand file tree Collapse file tree 2 files changed +77
-1
lines changed Expand file tree Collapse file tree 2 files changed +77
-1
lines changed Original file line number Diff line number Diff line change 2121 steps :
2222 - uses : actions/checkout@v3
2323 - uses : dtolnay/rust-toolchain@stable
24- - run : sudo apt-get update; sudo apt-get install -y libdrm-dev libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev
24+ - run : sudo apt-get update; sudo apt-get install -y libdrm-dev libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libdisplay-info-dev
2525 - run : cargo check --no-default-features
2626 - run : cargo check --features debug
2727 - run : cargo check --features profile-with-tracy
Original file line number Diff line number Diff line change 1+ name : Continuous Integration
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ format :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout sources
14+ uses : actions/checkout@v2
15+ - name : Rust toolchain
16+ uses : actions-rs/toolchain@v1
17+ with :
18+ toolchain : stable
19+ override : true
20+ profile : minimal
21+ components : rustfmt
22+ default : true
23+ - name : Cargo cache
24+ uses : actions/cache@v2
25+ with :
26+ path : |
27+ ~/.cargo/registry
28+ ~/.cargo/git
29+ key : ${{ runner.os }}-cargo-rust_stable-${{ hashFiles('**/Cargo.toml') }}
30+ - name : Format
31+ uses : actions-rs/cargo@v1
32+ with :
33+ command : fmt
34+ args : --all -- --check
35+ test :
36+ runs-on : ubuntu-latest
37+ steps :
38+ - name : Checkout sources
39+ uses : actions/checkout@v2
40+ - name : Rust toolchain
41+ uses : actions-rs/toolchain@v1
42+ with :
43+ toolchain : stable
44+ override : true
45+ default : true
46+ profile : minimal
47+ - name : Cargo cache
48+ uses : actions/cache@v2
49+ with :
50+ path : |
51+ ~/.cargo/registry
52+ ~/.cargo/git
53+ key : ${{ runner.os }}-cargo-rust_stable-${{ hashFiles('**/Cargo.toml') }}
54+ - name : System dependencies
55+ run : sudo apt-get update; sudo apt-get install libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libsystemd-dev libdbus-1-dev libdisplay-info-dev
56+ - name : Build cache
57+ uses : actions/cache@v2
58+ with :
59+ path : target
60+ key : ${{ runner.os }}-build-rust_stable-smithay-feature_${{ matrix.features }}-${{ hashFiles('**/Cargo.toml') }}
61+ - name : Build and install Libseat
62+ run : |
63+ sudo apt-get install meson ninja-build
64+ wget https://git.sr.ht/~kennylevinsen/seatd/archive/0.5.0.tar.gz -O libseat-source.tar.gz
65+ tar xf libseat-source.tar.gz
66+ cd seatd-0.5.0
67+ meson -Dbuiltin=enabled -Dserver=disabled -Dexamples=disabled -Dman-pages=disabled build .
68+ ninja -C build
69+ sudo meson install -C build
70+ - name : Test features
71+ uses : actions-rs/cargo@v1
72+ env :
73+ RUST_BACKTRACE : full
74+ with :
75+ command : test
76+ args : --all-features
You can’t perform that action at this time.
0 commit comments