forked from swaywm/wlroots-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.build.yml
44 lines (41 loc) · 808 Bytes
/
.build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
image: archlinux
packages:
- meson
- ninja
- wayland
- wayland-protocols
- mesa
- libinput
- pixman
- libxkbcommon
- xcb-util-image
- libcap
- rustup
- clang
- libxcb
- xcb-util-image
- xcb-util-cursor
- xcb-util-wm
sources:
- https://github.com/swaywm/wlroots-rs
tasks:
- setup: |
rustup install stable
export CC=clang
rustup default stable
export RUST_BACKTRACE=full
cd wlroots-rs
git submodule update --init --recursive
- build: |
cd wlroots-rs
cd wlroots-sys
cd wlroots
meson build
ninja -C build
cd ../
cargo build --verbose --features static
cd ../
cargo build --verbose
cargo build --examples
cargo doc
cargo test --all