@@ -24,30 +24,25 @@ jobs:
24
24
with :
25
25
toolchain : ${{ matrix.rust }}
26
26
override : true
27
- - uses : actions-rs/cargo@v1
28
- name : " Docs"
29
- with :
30
- command : doc
31
- args : --features "dox,embed-lgpl-docs"
32
- - uses : actions-rs/cargo@v1
33
- name : " Test"
34
- with :
35
- command : test
36
- args : --features "embed-lgpl-docs"
37
- - uses : actions-rs/cargo@v1
38
- name : " Build"
39
- with :
40
- command : build
41
- args : --features "purge-lgpl-docs"
42
- - run : git diff -R --exit-code
43
- # - uses: actions/checkout@v2
44
- # with:
45
- # repository: gtk-rs/examples4
46
- # ref: master
47
- # path: examples4
48
- # - name: Examples
49
- # working-directory: examples4
50
- # run: cargo check
27
+ - name : install dependencies
28
+ run : sudo dnf install -y xorg-x11-server-Xvfb
29
+ # gsk4
30
+ - name : " gsk4: tests"
31
+ run : xvfb-run --auto-servernum cargo test --manifest-path gsk4/Cargo.toml --all-features
32
+ - name : " gsk4: build"
33
+ run : cargo build --manifest-path gsk4/Cargo.toml --all-features
34
+ # gdk4
35
+ - name : " gdk4: tests"
36
+ run : xvfb-run --auto-servernum cargo test --manifest-path gdk4/Cargo.toml --all-features
37
+ - name : " gdk4: build"
38
+ run : cargo build --manifest-path gdk4/Cargo.toml --all-features
39
+ # gtk4
40
+ - name : " gtk4: tests"
41
+ run : xvfb-run --auto-servernum cargo test --manifest-path gtk4/Cargo.toml --all-features
42
+ - name : " gtk4: build"
43
+ run : cargo build --manifest-path gtk4/Cargo.toml --all-features
44
+
45
+ - uses : bcomnes/cleanup-xvfb@v1
51
46
52
47
fmt :
53
48
name : Rustfmt
@@ -64,13 +59,11 @@ jobs:
64
59
with :
65
60
command : fmt
66
61
args : --all -- --check
67
- - run : make regen_check
68
62
69
63
checker :
70
64
name : gtk-rs checker
71
65
runs-on : ubuntu-latest
72
66
steps :
73
- - uses : actions/checkout@v2
74
67
- uses : actions/checkout@v2
75
68
with :
76
69
repository : gtk-rs/checker
0 commit comments