mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Add Android to Travis
This commit is contained in:
parent
62e347ea0d
commit
b41bb3178a
1 changed files with 22 additions and 0 deletions
22
.travis.yml
22
.travis.yml
|
@ -90,6 +90,28 @@ matrix:
|
||||||
- export DEPLOY_FILE="Chiaki-macOS-${CHIAKI_VERSION}-x86_64.dmg"
|
- export DEPLOY_FILE="Chiaki-macOS-${CHIAKI_VERSION}-x86_64.dmg"
|
||||||
- mv Chiaki.dmg "$DEPLOY_FILE"
|
- mv Chiaki.dmg "$DEPLOY_FILE"
|
||||||
|
|
||||||
|
- name: Android
|
||||||
|
language: android
|
||||||
|
os: linux
|
||||||
|
dist: trusty
|
||||||
|
android:
|
||||||
|
components:
|
||||||
|
- build-tools-29.0.2
|
||||||
|
- android-29
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- python3-pip
|
||||||
|
install:
|
||||||
|
- echo y | sdkmanager "ndk-bundle"
|
||||||
|
- echo y | sdkmanager "cmake;3.10.2.4988404"
|
||||||
|
- sudo pip3 install protobuf
|
||||||
|
- scripts/fetch-protoc.sh
|
||||||
|
- export PATH="$TRAVIS_BUILD_DIR/protoc/bin:$PATH"
|
||||||
|
script:
|
||||||
|
- cd android
|
||||||
|
- ./gradlew assembleRelease
|
||||||
|
|
||||||
- name: "Source Package"
|
- name: "Source Package"
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue