Unverified Commit 97a6a496 authored by Sander Jochems's avatar Sander Jochems Committed by GitHub

Implement GitHub Actions (#2059)

parent bb473d91
name: 'Java CI'
on: push
jobs:
build:
name: 'Build'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Set up JDK 1.8'
uses: actions/setup-java@v1
with:
java-version: 8
- name: 'Checkout submodules'
uses: textbook/git-checkout-submodule-action@master
- name: 'Install 32-bit dependencies'
run: sudo apt-get install -y libc6-i386 lib32z1 lib32stdc++6
- name: 'Make Auth Key'
run: ant MakeAuthKey
working-directory: appinventor
- name: 'Build Appinventor'
run: ant noplay
working-directory: appinventor
- name: 'Run Tests'
run: ant tests
working-directory: appinventor
- name: 'Upload Test Reports to Artifacts'
uses: actions/upload-artifact@v1.0.0
with:
name: Test Reports
path: appinventor/reports
- name: 'Build Companion'
run: ant PlayApp
working-directory: appinventor
- name: 'Upload Companion to Artifacts'
uses: actions/upload-artifact@v1.0.0
with:
name: MIT AI2 Companion
path: appinventor/build/buildserver/MIT AI2 Companion.apk
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment