CI: move to Github Actions

This commit is contained in:
imkiva 2021-05-08 00:18:40 +08:00 committed by Kiva Oyama
parent b517d68e9e
commit 880082458a
2 changed files with 19 additions and 24 deletions

19
.github/workflows/gradle-check.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Gralde check
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Build
run: |
./gradlew :app:assembleDebug

View File

@ -1,24 +0,0 @@
sudo: true
dist: trusty
language: android
jdk: oraclejdk8
android:
components:
- platform-tools
- tools
- build-tools-25.0.2
- android-25
- extra-android-m2repository
before_install:
- echo "y" | sdkmanager "cmake;3.6.4111459"
- git clone https://github.com/urho3d/android-ndk.git $HOME/android-ndk
- export ANDROID_NDK_HOME=$HOME/android-ndk
script:
- ./gradlew :app:assembleDebug
after_success:
- bash <(curl -s https://codecov.io/bash)