@@ -20,34 +20,12 @@ jobs:
20
20
fail-fast : false
21
21
matrix :
22
22
platform :
23
- - { target: aarch64-apple-darwin, os: macos-14, test: true }
24
- - { target: x86_64-apple-darwin, os: macos-13, test: true }
25
- - { target: x86_64-unknown-linux-gnu, os: ubuntu-24.04, test: true }
26
- - { target: x86_64-pc-windows-msvc, os: windows-latest, test: true }
27
- - { target: i686-pc-windows-msvc, os: windows-latest, test: false }
28
- - { target: aarch64-pc-windows-msvc, os: windows-latest, test: false }
29
- - {
30
- target : aarch64-unknown-linux-ohos,
31
- os : ubuntu-24.04,
32
- test : false,
33
- }
34
23
- { target: arm-linux-androideabi, os: ubuntu-24.04, test: false }
35
- features :
36
- [
37
- " " ,
38
- " chains sm-raw-window-handle-06" ,
39
- " chains sm-raw-window-handle-05" ,
40
- ]
24
+ features : [""]
41
25
include :
42
26
- features : " sm-x11 sm-wayland-default"
43
27
platform :
44
28
{ target: x86_64-unknown-linux-gnu, os: ubuntu-24.04, test: true }
45
- - features : " chains sm-angle-builtin"
46
- platform :
47
- { target: x86_64-pc-windows-msvc, os: windows-latest, test: true }
48
- - features : " chains sm-no-wgl sm-angle-builtin"
49
- platform :
50
- { target: x86_64-pc-windows-msvc, os: windows-latest, test: true }
51
29
steps :
52
30
- uses : actions/checkout@v4
53
31
- name : Install dependencies (Linux)
63
41
- name : Build
64
42
run : |
65
43
cargo build --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
44
+
45
+ - name : Setup tmate session
46
+ uses : mxschmitt/action-tmate@v3
66
47
- name : Test
67
48
if : ${{ matrix.platform.test && startsWith(matrix.platform.os, 'ubuntu') }}
68
49
env :
71
52
run : |
72
53
weston --no-config --socket=wl-test-env --backend=headless &
73
54
WAYLAND_DISPLAY=wl-test-env xvfb-run cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }} -- --nocapture
74
- - name : Setup tmate session
75
- uses : mxschmitt/action-tmate@v3
76
55
- name : Test
77
56
if : ${{ matrix.platform.test && !startsWith(matrix.platform.os, 'ubuntu') }}
78
57
run : |
0 commit comments