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:
parent
d53bd4a351
commit
6b2ac0b11c
7 changed files with 263 additions and 123 deletions
33
.github/workflows/android.yml
vendored
Normal file
33
.github/workflows/android.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue