File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : macOS
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ paths :
7
+ - " .github/workflows/macos.yml"
8
+ - " gdk4/**"
9
+ - " gsk4/**"
10
+ - " gtk4/**"
11
+ - " gtk4-macros/**"
12
+ pull_request :
13
+ paths :
14
+ - " .github/workflows/macos.yml"
15
+ - " gdk4/**"
16
+ - " gsk4/**"
17
+ - " gtk4/**"
18
+ - " gtk4-macros/**"
19
+ workflow_dispatch :
20
+
21
+ jobs :
22
+ ci-macos :
23
+ name : macOS
24
+ runs-on : macos-12
25
+ steps :
26
+ - uses : actions/checkout@v3
27
+
28
+ - name : Install GTK
29
+ run : |
30
+ brew install gtk4
31
+
32
+ - name : Install Rust
33
+ uses : actions-rs/toolchain@v1
34
+ with :
35
+ profile : minimal
36
+ toolchain : stable
37
+ components : clippy
38
+
39
+ - name : Build
40
+ uses : actions-rs/cargo@v1
41
+ with :
42
+ command : build
43
+ args : --features v4_8,xml_validation
44
+ - name : Clippy
45
+ uses : actions-rs/cargo@v1
46
+ with :
47
+ command : clippy
48
+ args : --features v4_8,xml_validation
49
+ # FIXME: renable once https://github.com/gtk-rs/gtk4-rs/issues/1235 is fixed
50
+ # - name: Tests
51
+ # uses: actions-rs/cargo@v1
52
+ # with:
53
+ # command: test
54
+ # args: --features v4_8,xml_validation
You can’t perform that action at this time.
0 commit comments