mirror of
https://github.com/PurpleI2P/i2pd-android.git
synced 2025-09-09 04:52:00 +00:00
[gha] build binaries package
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
3dbb4e9759
commit
8e2e80ea5d
16
.github/workflows/android.yml
vendored
16
.github/workflows/android.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: android-apks
|
name: android-apks.zip
|
||||||
path: app/build/outputs/apk/debug/*.apk
|
path: app/build/outputs/apk/debug/*.apk
|
||||||
|
|
||||||
build-binary:
|
build-binary:
|
||||||
@ -80,8 +80,18 @@ jobs:
|
|||||||
pushd binary/jni
|
pushd binary/jni
|
||||||
$ANDROID_NDK_HOME/ndk-build -j2 NDK_MODULE_PATH=$PWD
|
$ANDROID_NDK_HOME/ndk-build -j2 NDK_MODULE_PATH=$PWD
|
||||||
popd
|
popd
|
||||||
- name: Upload artifacts
|
- name: Create package with built binaries
|
||||||
|
run: |
|
||||||
|
pushd contrib/binary_pack
|
||||||
|
./build-archive
|
||||||
|
popd
|
||||||
|
- name: Upload binaries archive
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: android-binaries
|
name: android-binaries.zip
|
||||||
path: binary/libs/*
|
path: binary/libs/*
|
||||||
|
- name: Upload binaries package
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: android-binaries-pack.zip
|
||||||
|
path: contrib/i2pd_*_android_binary.zip
|
||||||
|
0
contrib/binary_pack/build-archive
Normal file → Executable file
0
contrib/binary_pack/build-archive
Normal file → Executable file
0
contrib/binary_pack/i2pd
Normal file → Executable file
0
contrib/binary_pack/i2pd
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user