mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-12-03 08:17:26 +00:00
Enable GitHub Actions
This commit is contained in:
parent
75ae299b54
commit
19118d0b31
5 changed files with 18 additions and 18 deletions
13
.github/workflows/build.yml
vendored
Normal file
13
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Build
|
||||
on: [pull_request, push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: ./gradlew --no-daemon build
|
||||
env:
|
||||
TERM: dumb
|
||||
JAVA_OPTS: -Xmx2048m
|
15
.travis.yml
15
.travis.yml
|
@ -1,15 +0,0 @@
|
|||
language: java
|
||||
jdk: openjdk8
|
||||
install:
|
||||
- mkdir $HOME/android-cmdline-tools
|
||||
- curl https://dl.google.com/android/repository/commandlinetools-linux-6609375_latest.zip > $HOME/android-cmdline-tools/cmdline-tools.zip
|
||||
- unzip -qq -n $HOME/android-cmdline-tools/cmdline-tools.zip -d $HOME/android-cmdline-tools
|
||||
- echo y | $HOME/android-cmdline-tools/tools/bin/sdkmanager --sdk_root=$HOME/android-sdk 'platform-tools'
|
||||
- echo y | $HOME/android-cmdline-tools/tools/bin/sdkmanager --sdk_root=$HOME/android-sdk 'build-tools;29.0.3'
|
||||
- echo y | $HOME/android-cmdline-tools/tools/bin/sdkmanager --sdk_root=$HOME/android-sdk 'platforms;android-30'
|
||||
env:
|
||||
- ANDROID_HOME=$HOME/android-sdk TERM=dumb JAVA_OPTS="-Xmx2048m"
|
||||
before_script:
|
||||
- echo sdk.dir $ANDROID_HOME > local.properties
|
||||
script:
|
||||
- ./gradlew --no-daemon build
|
1
extern/RemoteDroidGuard
vendored
1
extern/RemoteDroidGuard
vendored
|
@ -1 +0,0 @@
|
|||
Subproject commit 47073dd7a2a039593fe556af8f9f33e325febfa7
|
1
extern/Wearable
vendored
1
extern/Wearable
vendored
|
@ -1 +0,0 @@
|
|||
Subproject commit 617a43e139c6470361e44015bf1964026f3107e7
|
|
@ -41,7 +41,11 @@ def execResult(...args) {
|
|||
|
||||
def mapboxKey() {
|
||||
Properties properties = new Properties()
|
||||
properties.load(project.rootProject.file('local.properties').newDataInputStream())
|
||||
try {
|
||||
properties.load(project.rootProject.file('local.properties').newDataInputStream())
|
||||
} catch (ignored) {
|
||||
// Ignore
|
||||
}
|
||||
return properties.getProperty("mapbox.key", "invalid")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue