build Android 🤖 #233
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Warning: this name must stay in sync with the badges referenced in the README | |
name: 'build Android 🤖' | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 6" # Run every Saturday at midnight | |
jobs: | |
android-build: | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [x86_64, arm, aarch64] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt -y update | |
sudo apt -y install ninja-build nasm | |
- name: Build | |
run: | | |
./configure.py --buildtype debug --debug-opts gl vk --host Android --host-arch ${{ matrix.arch }} | |
make -f Makefile.Android.${{ matrix.arch }} | |
. venv/bin/ngli-activate | |
meson test -C builddir/Android/${{ matrix.arch }}/libnopegl |