This repository was archived by the owner on Mar 4, 2024. It is now read-only.
File tree 2 files changed +70
-1
lines changed
2 files changed +70
-1
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [master]
4
+ pull_request :
5
+
6
+ name : CI
7
+
8
+ jobs :
9
+ check :
10
+ runs-on : ubuntu-latest
11
+ container :
12
+ image : fedora:latest
13
+ strategy :
14
+ matrix :
15
+ rust :
16
+ - stable
17
+ - beta
18
+ - nightly
19
+ - " 1.40.0"
20
+ steps :
21
+ - run : sudo dnf install -y gcc gtk3-devel graphene-devel glib2-devel git xorg-x11-server-Xvfb
22
+ - uses : actions/checkout@v2
23
+ - uses : actions-rs/toolchain@v1
24
+ with :
25
+ toolchain : ${{ matrix.rust }}
26
+ override : true
27
+ - uses : actions-rs/cargo@v1
28
+ name : " Docs"
29
+ with :
30
+ command : doc
31
+ - run : xvfb-run --auto-servernum cargo test
32
+ - uses : actions-rs/cargo@v1
33
+ name : " Build"
34
+ with :
35
+ command : build
36
+ - run : git diff -R --exit-code
37
+ - name : Cleanup xvfb pidx
38
+ uses : bcomnes/cleanup-xvfb@v1
39
+
40
+ fmt :
41
+ name : rust fmt
42
+ runs-on : ubuntu-latest
43
+ steps :
44
+ - uses : actions/checkout@v2
45
+ - uses : actions-rs/toolchain@v1
46
+ with :
47
+ profile : minimal
48
+ toolchain : stable
49
+ override : true
50
+ - run : rustup component add rustfmt
51
+ - uses : actions-rs/cargo@v1
52
+ with :
53
+ command : fmt
54
+ args : --all -- --check
55
+
56
+ checker :
57
+ name : gtk-rs checker
58
+ runs-on : ubuntu-latest
59
+ steps :
60
+ - uses : actions/checkout@v2
61
+ - uses : actions/checkout@v2
62
+ with :
63
+ repository : gtk-rs/checker
64
+ ref : master
65
+ path : checker
66
+ - working-directory : checker
67
+ run : cargo build --release
68
+ - run : " ./checker/target/release/checker ."
69
+ - run : " ./checker/check_init_asserts"
Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ members = [
27
27
" pangocairo/sys" ,
28
28
]
29
29
30
- exclude = [" gir" ]
30
+ exclude = [" gir" , " checker " ]
You can’t perform that action at this time.
0 commit comments