Migrate CI to actions, build artifacts (#89)

* Create go workflow

* Delete travis config

* Update build script

* Create apple workflow

* Create android workflow

Co-authored-by: marin thiercelin <marin.thiercelin@pm.me>
This commit is contained in:
wussler 2020-10-19 10:07:25 +02:00 committed by GitHub
parent d53bd4a351
commit 6b2ac0b11c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 263 additions and 123 deletions

33
.github/workflows/android.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: Gomobile for Android
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build library for Android with gomobile
runs-on: ubuntu-latest
steps:
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: |
./build.sh android
find build
- name: Upload Android artifacts
uses: actions/upload-artifact@v2
with:
name: Android build
path: build/android
if-no-files-found: error