forked from mit-cml/appinventor-sources
-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (38 loc) · 1.17 KB
/
ant.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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'
run: git submodule update --init --recursive
- 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