Commit 5aac6a8 1 parent 7d058f2 commit 5aac6a8 Copy full SHA for 5aac6a8
File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -69,14 +69,20 @@ jobs:
69
69
rustup target add ${{ matrix.platform.target }}
70
70
cargo build --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
71
71
- name : Test
72
- if : ${{ matrix.platform.test && startsWith(matrix.platform.os, 'ubuntu') }}
72
+ if : ${{ matrix.platform.test && startsWith(matrix.platform.os, 'ubuntu') && !contains(matrix.platform.target, 'android') }}
73
73
run : |
74
74
weston --no-config --socket=wl-test-env --backend=headless &
75
75
WAYLAND_DISPLAY=wl-test-env xvfb-run cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
76
76
- name : Test
77
- if : ${{ matrix.platform.test && !startsWith(matrix.platform.os, 'ubuntu') }}
77
+ if : ${{ matrix.platform.test && !startsWith(matrix.platform.os, 'ubuntu') && !contains(matrix.platform.target, 'android') }}
78
78
run : |
79
79
cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
80
+ - name : Test
81
+ if : ${{ matrix.platform.test && contains(matrix.platform.target, 'android') }}
82
+ run : |
83
+ cargo install cargo-dinghy
84
+ cargo dinghy all-platforms
85
+ cargo dingy test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
80
86
Format :
81
87
name : Run `rustfmt`
82
88
runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments