Skip to content

Commit

Permalink
Implement GitHub Actions (mit-cml#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander0542 authored Jan 27, 2021
1 parent bb473d9 commit 97a6a49
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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/[email protected]
with:
name: Test Reports
path: appinventor/reports
- name: 'Build Companion'
run: ant PlayApp
working-directory: appinventor
- name: 'Upload Companion to Artifacts'
uses: actions/[email protected]
with:
name: MIT AI2 Companion
path: appinventor/build/buildserver/MIT AI2 Companion.apk

0 comments on commit 97a6a49

Please sign in to comment.