Skip to content

Commit 399e4d2

Browse files
committed
ci: build android
1 parent 5dcab46 commit 399e4d2

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/rust.yml

+17-2
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,28 @@ jobs:
3030
components: clippy
3131
- run: cargo clippy -- -D warnings
3232

33+
android-test:
34+
name: Test (Android)
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Checkout Code
38+
uses: actions/checkout@v4
39+
40+
- name: Install cargo-apk
41+
run: cargo install cargo-apk
42+
43+
- name: Rust cache
44+
uses: Swatinem/rust-cache@v2
45+
46+
- name: Run Tests
47+
run: cargo apk test
48+
3349
linux-test:
3450
name: Test (Linux)
3551
uses: ./.github/workflows/build-and-test.yml
3652
with:
3753
os: ubuntu-latest
38-
additional-setup: |
39-
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev
54+
additional-setup: | sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev
4055
4156
macos-test:
4257
name: Test (macOS)

0 commit comments

Comments
 (0)