Use GitHub CI
This commit is contained in:
parent
5bc5ab439a
commit
bc93d81064
3 changed files with 27 additions and 23 deletions
16
.github/workflows/build.yml
vendored
Normal file
16
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
# SPDX-FileCopyrightText: 2021, microG Project Team
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
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
|
11
.github/workflows/reuse.yml
vendored
Normal file
11
.github/workflows/reuse.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
# SPDX-FileCopyrightText: 2021, microG Project Team
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
name: REUSE Compliance Check
|
||||
on: [pull_request, push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: fsfe/reuse-action@v1
|
23
.travis.yml
23
.travis.yml
|
@ -1,23 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2014, microg Project Team
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- name: "Build"
|
||||
language: android
|
||||
android:
|
||||
components:
|
||||
- tools
|
||||
- build-tools-29.0.3
|
||||
- android-29
|
||||
script:
|
||||
- export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|
||||
- export TERM=dumb
|
||||
- echo sdk.dir $ANDROID_HOME > local.properties
|
||||
- jdk_switcher use oraclejdk8
|
||||
- ./gradlew build
|
||||
- name: "REUSE lint"
|
||||
language: minimal
|
||||
script:
|
||||
- docker pull fsfe/reuse:latest
|
||||
- docker run -v ${TRAVIS_BUILD_DIR}:/data fsfe/reuse:latest lint
|
Loading…
Add table
Reference in a new issue