feat: build miniooni and ooniprobe for android (#907)
This diff introduces a build script, makefile rules, and github actions rules to build and public android CLI releases. See https://github.com/ooni/probe/issues/1723
This commit is contained in:
@@ -36,13 +36,22 @@ jobs:
|
||||
PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }}
|
||||
|
||||
- run: make ./MOBILE/android
|
||||
- run: make ./CLI/android
|
||||
|
||||
- run: |
|
||||
tag=$(echo $GITHUB_REF | sed 's|refs/tags/||g')
|
||||
gh release create -p $tag --target $GITHUB_SHA || true
|
||||
gh release upload $tag --clobber ./MOBILE/android/oonimkall.aar \
|
||||
./MOBILE/android/oonimkall-sources.jar \
|
||||
./MOBILE/android/oonimkall.pom
|
||||
./MOBILE/android/oonimkall.pom \
|
||||
./CLI/miniooni-android-386 \
|
||||
./CLI/miniooni-android-amd64 \
|
||||
./CLI/miniooni-android-arm \
|
||||
./CLI/miniooni-android-arm64 \
|
||||
./CLI/ooniprobe-android-386 \
|
||||
./CLI/ooniprobe-android-amd64 \
|
||||
./CLI/ooniprobe-android-arm \
|
||||
./CLI/ooniprobe-android-arm64
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user