6
6
name : CI
7
7
8
8
jobs :
9
- check :
9
+ build :
10
10
runs-on : ubuntu-latest
11
11
container :
12
12
image : ubuntu:20.10
@@ -19,24 +19,95 @@ jobs:
19
19
- " 1.40.0"
20
20
steps :
21
21
- run : apt-get update -y
22
- - run : apt-get install -y libgtk-3-dev libglib2.0-dev libgraphene-1.0-dev git xvfb curl
22
+ - run : apt-get install -y libgtk-3-dev libglib2.0-dev libgraphene-1.0-dev git xvfb curl libcairo-gobject2 libcairo2-dev
23
23
- uses : actions/checkout@v2
24
24
- uses : actions-rs/toolchain@v1
25
25
with :
26
26
toolchain : ${{ matrix.rust }}
27
27
override : true
28
- - uses : actions-rs/cargo@v1
29
- name : " Docs"
30
- with :
31
- command : doc
32
- # - run: xvfb-run --auto-servernum cargo test
33
- - uses : actions-rs/cargo@v1
34
- name : " Build"
35
- with :
36
- command : build
28
+ # atk
29
+ - name : " atk: tests"
30
+ run : xvfb-run --auto-servernum cargo test --manifest-path atk/Cargo.toml --all-features
31
+ - name : " atk-sys: tests"
32
+ run : xvfb-run --auto-servernum cargo test --manifest-path atk/sys/Cargo.toml --all-features
33
+ - name : " atk: build"
34
+ run : cargo build --manifest-path atk/Cargo.toml --all-features
35
+ # cairo
36
+ - name : " cairo: tests"
37
+ run : xvfb-run --auto-servernum cargo test --manifest-path cairo/Cargo.toml --all-features
38
+ - name : " cairo-sys: tests"
39
+ run : xvfb-run --auto-servernum cargo test --manifest-path cairo/sys/Cargo.toml --all-features
40
+ - name : " cairo: build"
41
+ run : cargo build --manifest-path cairo/Cargo.toml --all-features
42
+ # gdk
43
+ - name : " gdk: tests"
44
+ run : xvfb-run --auto-servernum cargo test --manifest-path gdk/Cargo.toml --all-features
45
+ - name : " gdk: build"
46
+ run : cargo build --manifest-path gdk/Cargo.toml --all-features
47
+ # gdk-pixbuf
48
+ - name : " gdk-pixbuf: tests"
49
+ run : xvfb-run --auto-servernum cargo test --manifest-path gdk-pixbuf/Cargo.toml --all-features
50
+ - name : " gdk-pixbuf-sys: tests"
51
+ run : xvfb-run --auto-servernum cargo test --manifest-path gdk-pixbuf/sys/Cargo.toml --all-features
52
+ - name : " gdk-pixbuf: build"
53
+ run : cargo build --manifest-path gdk-pixbuf/Cargo.toml --all-features
54
+ # gdkx11
55
+ - name : " gdkx11: tests"
56
+ run : xvfb-run --auto-servernum cargo test --manifest-path gdkx11/Cargo.toml --all-features
57
+ - name : " gdkx11-sys: tests"
58
+ run : xvfb-run --auto-servernum cargo test --manifest-path gdkx11/sys/Cargo.toml --all-features
59
+ - name : " gdkx11: build"
60
+ run : cargo build --manifest-path gdkx11/Cargo.toml --all-features
61
+ # gio
62
+ - name : " gio: tests"
63
+ run : xvfb-run --auto-servernum cargo test --manifest-path gio/Cargo.toml --all-features
64
+ - name : " gio: build"
65
+ run : cargo build --manifest-path gio/Cargo.toml --all-features
66
+ # glib
67
+ - name : " glib: tests"
68
+ run : xvfb-run --auto-servernum cargo test --manifest-path glib/Cargo.toml --all-features
69
+ - name : " glib: build"
70
+ run : cargo build --manifest-path glib/Cargo.toml --all-features
71
+ # glib-macros
72
+ - name : " glib-macros: tests"
73
+ run : xvfb-run --auto-servernum cargo test --manifest-path glib-macros/Cargo.toml"
74
+ - name : " glib-macros: build"
75
+ run : cargo build --manifest-path glib-macros/Cargo.toml"
76
+ # graphene
77
+ - name : " graphene: tests"
78
+ run : xvfb-run --auto-servernum cargo test --manifest-path graphene/Cargo.toml --all-features
79
+ - name : " graphene-sys: tests"
80
+ run : xvfb-run --auto-servernum cargo test --manifest-path graphene/sys/Cargo.toml --all-features
81
+ - name : " graphene: build"
82
+ run : cargo build --manifest-path graphene/Cargo.toml --all-features
83
+ # gtk
84
+ - name : " gtk: tests"
85
+ run : xvfb-run --auto-servernum cargo test --manifest-path gtk/Cargo.toml --all-features
86
+ - name : " gtk-sys: tests"
87
+ run : xvfb-run --auto-servernum cargo test --manifest-path gtk/sys/Cargo.toml --all-features
88
+ - name : " gtk: build"
89
+ run : cargo build --manifest-path gtk/Cargo.toml --all-features
90
+ # pango
91
+ - name : " pango: tests"
92
+ run : xvfb-run --auto-servernum cargo test --manifest-path pango/Cargo.toml --all-features
93
+ - name : " pango-sys: tests"
94
+ run : xvfb-run --auto-servernum cargo test --manifest-path pango/sys/Cargo.toml --all-features
95
+ - name : " pango: build"
96
+ run : cargo build --manifest-path pango/Cargo.toml --all-features
97
+ # pangocairo
98
+ - name : " pangocairo: tests"
99
+ run : xvfb-run --auto-servernum cargo test --manifest-path pangocairo/Cargo.toml --all-features
100
+ - name : " pangocairo-sys: tests"
101
+ run : xvfb-run --auto-servernum cargo test --manifest-path pangocairo/sys/Cargo.toml --all-features
102
+ - name : " pangocairo: build"
103
+ run : cargo build --manifest-path pangocairo/Cargo.toml --all-features
104
+
105
+ # examples
106
+ - name : " examples"
107
+ run : cargo build --manifest-path examples/Cargo.toml --bins --examples --all-features
108
+
37
109
- run : git diff -R --exit-code
38
- # - name: Cleanup xvfb pidx
39
- # uses: bcomnes/cleanup-xvfb@v1
110
+ - uses : bcomnes/cleanup-xvfb@v1
40
111
41
112
fmt :
42
113
name : rust fmt
0 commit comments