Skip to content

Commit 01bf6d4

Browse files
committed
ci: add Android cross-compilation CI job
1 parent a620e07 commit 01bf6d4

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,26 @@ jobs:
218218
- name: Build and test
219219
run: cargo test -vv
220220

221+
222+
android-cross-compile:
223+
name: Cross-Compile for Android (${{ matrix.package }})
224+
runs-on: ubuntu-latest
225+
strategy:
226+
fail-fast: false
227+
matrix:
228+
package:
229+
- android-aarch64
230+
- android-armv7
231+
- android-x86_64
232+
steps:
233+
- uses: actions/checkout@v4
234+
235+
- name: Install Nix
236+
uses: cachix/install-nix-action@v31
237+
238+
- name: Build
239+
run: nix build .#${{ matrix.package }} -L
240+
221241
fuzz-corpus:
222242
name: Verify Fuzz Corpus
223243
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)